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

Create a profile for hashnode #21

Closed derlin closed 7 months ago

derlin commented 1 year ago

It is already possible to generate a TOC for hashnode using bitdowntoc, by set the anchor prefix option to heading- and using the gitlab preset. However, there is one tiny problem, and this happens when the title starts or ends with special characters. In this case, gitlab keeps a leading or trailing -, while hashnode doesn't. You can try with the heading (title) to see it for yourself.

This issue entails:

Updating the website page and the documentation can be done here or in another PR. I am available for any doubts or question if you need more information or advice.