Closed adamsoffer closed 3 years ago
Hey! That a good use case, I just released 6.0.0 with a uniqueSlugStartIndex
option to configure that.
I also made the default 1 (which is why I bumped a major) because since it seems to be the default in most other packages (and on GitHub itself) I think it's probably a more sensible default than 2.
Cheers!
Nice! Thanks @valeriangalliat
I noticed the index of anchors ids starts at index 2. It would be great if this start index could be configurable. My use case is that I'm using
markdown-toc
which uses the same naming conventions for anchors but starts at 1.