pub fn split_frontmatter(text: &str) -> FrontmatterSplitExpand description
Split a leading --- frontmatter block from text — LF-only line split
(CRLF leaves \r in raw), Python-whitespace .strip() on delimiter
lines (BOM and U+200B are NOT whitespace and defeat the delimiter).