markdown-toc
markdown-toc copied to clipboard
Generate/update TOC doesn't respond
Clicking on the option does nothing in VSC. This is a recent issue, possibly a new update broke your code? receives the error 'extension.updateMarkdownToc' failed
Error identified: Using % for jekyll links causes it to fail. Kind of annoying if you want to link to another page in the header.
yes got the same issue having a "%" in a title like this :
# Helloz %
then update / insert toc leads to
Running the contributed command:'extension.updateMarkdownToc' failed.
Fails to generate a TOC on Linux, but works on MacOS.
un-installing and reinstalling fixed the issue. Better to delete the extension folder manually and do a clean install.
It fails on the decodeURI
call because of a malformed %-encoding. I think the decodeURI
call can be removed altogether, it was introduced in 768dc313 but without a clear reason why. anchor-markdown-header
now supports emoji.