Skip to main content

parse_frontmatter

Function parse_frontmatter 

Source
pub fn parse_frontmatter(content: &str) -> Result<(Frontmatter, String), String>
Expand description

pi’s parseFrontmatter: the frontmatter and the body, or the YAML error.