pub fn split_frontmatter(content: &str) -> (Option<String>, String)
pi’s extractFrontmatter: the YAML between --- lines, when there is any, and the trimmed markdown body after it.
extractFrontmatter
---