Skip to main content

parse_document

Function parse_document 

Source
pub fn parse_document(src: &str, options: &Options) -> Value
Expand description

Parse Markdown to the mdast-adjacent JSON AST. References stay unresolved, as mdast keeps them: a bracketed label is a linkReference or an imageReference, and each definition a definition node where it stands. resolve_references resolves them.