pub fn heading_to_anchor(text: &str) -> String
Converts heading text into a practical GitHub-style anchor.