Hi everyone,
I’ve published an initial release of portabletext, a Go library for parsing and working with Portable Text documents.
The package is intentionally high-level and unopinionated:
-
It models Portable Text as a structured document representation (not a renderer or converter)
-
No enforced schemas
-
Unknown or custom block types are preserved
-
Consumers are expected to interpret or transform the data as needed
The goal is to provide a small foundation that can act as an intermediate representation for Portable Text workflows, without locking developers into a specific CMS or output format.
Docs and API reference:
Feedback is welcome.
— Derick