Skip to main content

import_slug

Function import_slug 

Source
pub fn import_slug(heading: &str) -> String
Expand description

Slug of a Markdown heading for import sources and page ids: lowercase ASCII letters and digits kept, every other run of characters one -, no leading or trailing -, at most 64 characters (cut at a - when possible); section when nothing is left.