Open NoAnyLove opened 10 years ago
Thanks @NoAnyLove.
This looks like an issue in the 3rd party Markdown converter library that CuteMarkEd uses. I suspect you use the default converter discount, right? You can find the selected converter in the options dialog.
I have to do some research here.
@cloose Yes, I use the default Markdown converter. I tried Hoedown, it works fine, generating IDs like toc_0 and toc_1.
BTW, I think the chinese translation is not so good at some aspect. I didn't notice there is an option to choose Markdown converter, since the text of that option shows something like "translation dictionary" in chinese, and the name of the default converter was translated to "decrease progressively".
Thanks for the hint regarding the translations. I will open an issue to add some more comments for the translators.
By the way. Could you great a small test case Markdown file that shows the problem? I would then create an issue in the upstream discount project.
Thanks!
Sure. Here attahed a test case file. In order to upload it, I have to renamed it to jpg. Just download it and rename it to test.md.
This upstream bug was reported as issue Orc/discount#126
CuteMarkEd generates heading elements with an id attribute converted from the content of heading. But when using chinese characters as headings, the id attribute is just some dots.