-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Incorrect headings generated for my heading-torture-test.md
file
#87
Comments
Thanks for reporting, I may look at it tomorrow when get some free time. And if you can make a PR, feel free to commit it. |
Your test cases are very useful. I'll try to fix the issues this weekend. |
Thanks! I was working on writing an |
Please update the plugin to the newest version and try again, it should can handle your cases now. 🤝 |
Thank you for making such a great plugin.
I created a markdown file (available here) designed to see how GitHub generates heading IDs in different cases ranging from common (like headings containing non-
[a-z]
letters like the Germanß
, Arabicا
, and Chinese猫
, to weird cases with numbers at the end of headings.Several of the headings generated by this plugin when I run
:GenTocGFM
in that file are different than the ones generated by GitHub.Most of the issues had to do with headings with numbers at the end, though the Arabic
ا
was incorrectly deleted, as was a trailing underscore.Click here to see what this plugin generates for my test file, with notes where it got it wrong.
The text was updated successfully, but these errors were encountered: