Skip to main content

has_frontmatter

Function has_frontmatter 

Source
pub fn has_frontmatter(markdown: &str) -> bool
Expand description

Returns true when the document starts with YAML-like or TOML-like frontmatter.