Skip to main content

extract_frontmatter

Function extract_frontmatter 

Source
pub(crate) fn extract_frontmatter(source: &str) -> Option<&str>
Expand description

Return the text between the leading --- fences, if present.