Function mdbook::utils::normalize_id

source ยท
pub fn normalize_id(content: &str) -> String
Expand description

Convert the given string to a valid HTML element ID. The only restriction is that the ID must not contain any ASCII whitespace.