parse_frontmatter_content

Function parse_frontmatter_content 

Source
pub fn parse_frontmatter_content(raw: &str) -> (Option<Value>, String)
Expand description

Parse frontmatter from content string Supports YAML (—) and TOML (+++) delimiters Returns (frontmatter_value, content_without_frontmatter)