Open Mutantpenguin opened 2 years ago
Found something out: this happens when exporting multiple times during the same "session".
Each time this number gets increased by one.
Restarting VSCode fixes the problem for the next export.
I also meets this issue. Is there anyway to clear the id generating history after finishing the exporting of current *.md to self-contained html?
Can't really say when this started, but links in self-contained HTML export don't work anymore. They exist, but clicking them doesn't do anything. I think the reason is, that the generated ids for linkable elements are generated wrong and thus the linked element can just not be found.
Example:
Results in this html:
As you can see, the id for "A Heading 1" is now
a-heading-1-2
. So somehow the postfix-2
got added. It seems like it did so for all ids.In another document of mine (which I can't share here) the postfix
-3
got added for seemingly every id (didn't check them all since there are a quite a lot).