-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate header names are not differentiated in IDs #225
Comments
Ok, after a considerable delay thanks to the plague, I've implemented unique labels for tables of content. If you're still waiting on this, can you check it out (and sorry for the delay) |
Works great for me, thank you! On a different note, I noticed that |
That's because I didn't do it properly! If there are multiple sections (style + text + ???) on the top level, it will only uniquify the style section which is NOT what I intended! |
Not sure I follow, what I meant was how the translation flags are specified. A more simple example: According to the man page, |
Ah. The -toc flag is a shortcut for |
I see. Thank you! |
Shamelessly copied from markedjs/marked#879:
Other markdown parsers support having multiple sections with the same name, but this one doesn't.
Input:
Expected Output:
Actual Output:
Supporting this means subsections can go by the same name. (for instance, in an md file I have, I have a section for specifications of files, and another section for examples of the files in action, and each section needs a subsection of the same name, as they're the same file)
There are probably other use cases as well. Also supporting this would make it not be invalid html =P
The text was updated successfully, but these errors were encountered: