Skip to main content

rumdl_parser_options

Function rumdl_parser_options 

Source
pub fn rumdl_parser_options() -> Options
Expand description

Standard pulldown-cmark options for rumdl parsing.

Uses an explicit allowlist rather than Options::all() to prevent future pulldown-cmark releases from silently changing parse behavior.

Notably excludes ENABLE_YAML_STYLE_METADATA_BLOCKS and ENABLE_PLUSES_DELIMITED_METADATA_BLOCKS because rumdl handles front matter detection independently. These options cause pulldown-cmark to misinterpret --- horizontal rules as metadata delimiters, corrupting code block detection across the entire document.