Skip to main content

slug

Function slug 

Source
pub fn slug(text: &str) -> String
Expand description

A heading’s anchor as hosting sites make it: lower case, letters, digits, - and _ kept, spaces made -, the rest dropped.