Skip to main content

parse

Function parse 

Source
pub fn parse(content: &str) -> Result<ParsedDocument, FrontmatterParseError>
Expand description

Parse frontmatter from markdown content.

Frontmatter is delimited by --- at the start of the document:

---
key: value
---
# Document content