Function heading_ids
fn heading_ids(text: &str) -> BTreeSet<String>Expand description
The heading anchors MkDocs’ toc extension renders: each heading’s slug.
The site does not enable attr_list, so a {#id} suffix is heading text,
slugged with the rest of the heading, not an explicit id.