[][src]Function comrak::parse_document

pub fn parse_document<'a>(
    arena: &'a Arena<AstNode<'a>>,
    buffer: &str,
    options: &ComrakOptions
) -> &'a AstNode<'a>

Parse a Markdown document to an AST.

See the documentation of the crate root for an example.