use markdown.extensions.headerid.slugify(_, -) to generate heading id