Function parse

Source
pub fn parse(source: &str) -> Result<Document, Error>
Expand description

Parse into a document tree and resolve sections and references.

§Errors

Returns an error if parsing fails.