pub fn parse_document(source: &str) -> DocumentExpand description
Parse a complete .mdi document. CommonMark and all GFM constructs are
parsed by markdown-rs; MDI is then lowered into the same tagged tree in
Rust. The host never tokenizes Markdown or MDI.