Skip to main content

parse_document

Function parse_document 

Source
pub fn parse_document(source: &str) -> Document
Expand 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.