You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 usingmarkdown-toc which uses the same naming conventions for anchors but starts at 1.
The text was updated successfully, but these errors were encountered:
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.
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.The text was updated successfully, but these errors were encountered: