Skip to main content

slug_of

Function slug_of 

Source
fn slug_of(title: &str) -> String
Expand description

A heading’s slug: “12c” for ### 12c. …, “22-27” for ## 22–27. …, else the title in lower case with dashes.