Skip to main content

split_frontmatter

Function split_frontmatter 

Source
pub fn split_frontmatter(content: &str) -> Option<(String, String)>
Expand description

Splits ---\n...\n---\n from the body. Mirrors super::split_skill_frontmatter — extracted here so future readers don’t drift on delimiter handling.