Skip to main content

Crate dmc_parser

Crate dmc_parser 

Source
Expand description

User-facing walkthrough: ../../dmc-docs/dmc-parser/

Re-exports§

pub use parser::ParseOptions;
pub use parser::Parser;
pub use parser::parse;
pub use parser::parse_inline_str;
pub use parser::parse_with;
pub use slugger::Slugger;
pub use slugger::github_slugify;

Modules§

ast
parser
refs
Link- and footnote-reference tables. CM 4.7 + 6.3 + GFM footnotes require a two-pass parse: harvest all definitions first, then resolve [label] / [text][label] / [label][] references during the main parse.
slugger
GitHub-style heading-anchor slug generator. Mirrors npm github-slugger (used by rehype-slug): punctuation is stripped, NOT replaced, so 0.4.3 -> 043 and It's -> its (matches velite output).