Skip to main content

Module parser

Module parser 

Source
Expand description

Extensible parser registry whose built-in formats are selected with Cargo features.

Modules§

config_file
Parses JSON, YAML, and TOML values into deterministic document trees.
html
Parses visible HTML body content into heading-based document trees.
markdown
Parses Markdown headings, body text, front matter, and exact line ranges.
plaintext
Parses plain text paragraphs with UTF-8-safe titles and exact line ranges.
treesitter
Parses supported source files into stable syntax-aware document trees.

Structs§

ParserRegistry
Registry of all parsers. Routes files to the appropriate parser by extension.

Traits§

Parser
Trait for document parsers.