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
The table of contents generator does a decent job until it handles a Markdown file with duplicate titles. In that case, the titles' links all point to the same reference, whereas the links for first duplicate title on should have -1, -2, etc. appended to it to properly reference the correct title.
For instance, right now a Markdown file like this:
# Main title
${TOC}
## Subtitle
## Subtitle 2
### Subtitle
### Subtitle 2
#### Subtitle 3
#### Subtitle 2
Background
The table of contents generator does a decent job until it handles a Markdown file with duplicate titles. In that case, the titles' links all point to the same reference, whereas the links for first duplicate title on should have
-1
,-2
, etc. appended to it to properly reference the correct title.For instance, right now a Markdown file like this:
would get a table of contents like this:
instead of this:
Definition of Done
The text was updated successfully, but these errors were encountered: