Function gutenberg::split_section_content
[−]
[src]
pub fn split_section_content(
file_path: &Path,
content: &str
) -> Result<(SectionFrontMatter, String)>
Split a file between the front matter and its content.
Returns a parsed SectionFrontMatter
and the rest of the content