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