Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 833 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 833 Bytes

satteri-ast

MDAST and HAST node types, codecs, tree operations, and conversion for Sätteri, a high-performance Markdown and MDX processor.

For subtree serialization, hast::render_node_with_options accepts RenderOptions to track SVG attribute casing separately from the content namespace. Use RenderOptions::for_children(tag) when descending through elements; it preserves HTML text and void-element rules inside SVG foreignObject, desc, and title elements.

MDAST-to-HAST conversion and HTML rendering accept Document references with either borrowed or owned source text. Both use the same node storage and semantic emitter; conversion returns an owned HAST arena.

Development

Refer to CONTRIBUTING.md for development setup and workflow details.