dmc-parser
Typed Markdown/MDX parser for the dmc AST.
Public API
dmc_parser::parse(&str) -> Documentdmc_parser::parse_with(&str, ParseOptions) -> Documentdmc_parser::parse_inline_str(&str) -> Vec<Node>dmc_parser::Parserfor manual token-stream parsingdmc_parser::ast,refs,Slugger,github_slugify
Dialect flags
ParseOptions::cm_strict_html_blocksParseOptions::gfm_autolinksParseOptions::legacy_gfm_emphasis
Compliance
- CommonMark:
652/652 - GFM:
670/670
The parser resolves reference links and footnotes in a two-pass parse,
and the end-to-end spec status is checked through dmc-parser +
dmc-codegen.
Spec suites