pub fn parse_frontmatter(content: &str) -> Option<HashMap<String, String>>Expand description
Extract YAML frontmatter from Markdown content.
Expects frontmatter between --- markers at the start of the file.
Returns None if no valid frontmatter is found.
Supports simple key: value pairs (no nested structures).