derlin / bitdowntoc

Online and command-line Markdown TOC generator, with built-in support for BitBucket Server, GitHub, Gitlab, dev.to and more!
https://bitdowntoc.derlin.ch
Other
92 stars 8 forks source link

Gitlab 17.0 upgrade #32

Closed derlin closed 7 months ago

derlin commented 7 months ago

Gitlab will change its anchor generation algorithm to conform to industry standards. See details here:

the autogenerated anchor is created with fewer dash (-) characters than many users expect. For example, with a heading with ## Step - 1, most other Markdown tools and linters would expect #step---1. But GitLab generates an anchor of #step-1, with consecutive dashes compressed down to one. In GitLab 17.0, we will align our autogenerated anchors to the industry standard by no longer stripping consecutive dashes.

GitLab 17.0 is coming on May 16.