Skip to main content

parse_entry

Function parse_entry 

Source
pub fn parse_entry(path: &Path, source: &str) -> Result<Entry>
Expand description

Parse a Markdown file into an Entry.

Frontmatter is optional. If the file starts with ---, everything until the closing --- is parsed as YAML. The rest is the body.