Function comrak::parse_document
source · [−]pub fn parse_document<'a>(
arena: &'a Arena<AstNode<'a>>,
buffer: &str,
options: &ComrakOptions
) -> &'a AstNode<'a>
Expand description
Parse a Markdown document to an AST.
See the documentation of the crate root for an example.