pub fn parse(
text: &str,
path_display: &str,
) -> Result<(Frontmatter, String), ParseError>Expand description
Split a file into (frontmatter, body), then parse the frontmatter as YAML.
pub fn parse(
text: &str,
path_display: &str,
) -> Result<(Frontmatter, String), ParseError>Split a file into (frontmatter, body), then parse the frontmatter as YAML.