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
87 stars 8 forks source link

Indentation of level 3+ headings in dev.to must be 3 spaces #8

Closed derlin closed 1 year ago

derlin commented 1 year ago

I don't know why, but in dev.to the level 3+ heading in the TOC need to have one more space to be rendered properly. The following:

- [h1](#h1)
  * [h2](#h2)
    + [h3](#h3)

will give:

By adding a space before the + on heading 3, we get the proper behavior: