pub fn parse_document(src: &str, options: &Options) -> ValueExpand 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.