Expand description
Serializers: Document → Markdown | JSON | text.
Pure functions — no I/O, no globals — so they are unit-testable on small
in-memory documents. Every block type is covered here; extractors only have
to produce a sane Document.
Structs§
- Render
Opts - Options that influence rendering.
Enums§
- Output
Format - Output format for the renderers.
Functions§
- render
- Render a document in the requested format.
- to_json
Document→ JSON.- to_
markdown Document→ Markdown.- to_text
Document→ plain text: structure without markup.