pub fn parse_frontmatter<F: DeserializeOwned>(
content: &str,
) -> Result<ParsedDocument<F>>Expand description
Parse frontmatter from content, returning structured metadata and body.
Returns an error if frontmatter is missing or malformed.
pub fn parse_frontmatter<F: DeserializeOwned>(
content: &str,
) -> Result<ParsedDocument<F>>Parse frontmatter from content, returning structured metadata and body.
Returns an error if frontmatter is missing or malformed.