Skip to content

chore: Add slugify to markdown-it-anchor function to replace special characters

Jarek Ostrowski requested to merge scroll-to-h3-tags into master

Closes #817 (closed).

Currently, this link https://design.gitlab.com/components/form/#disabling-vs.-hiding-fields does not scroll to the anchor because it contains ..

This adds a custom slugify function to markdownAnchor to remove and replace special characters with -.

Edited by Jarek Ostrowski

Merge request reports