pub fn slugify(text: &str) -> String
Lowercase, map whitespace/runs of non-alphanumeric to -, trim -. Mirrors docutils.nodes.fully_normalize_name closely enough for ids.
-
docutils.nodes.fully_normalize_name