Closed KevinHu-1024 closed 8 years ago
The Tags should be processed even before the hexo-renderer-markdown-it starts. I'm inclined to say that this is a bug with hexo-toc.
Markdown-it should recieve the rendered html from hexo-toc, and not the unprocessed tags. :/
I'm encountering the exact same problem.
I created an issue on hexo-toc issue tracker.
I had replaced the default md render by hexo-renderer-markdown-it. And I installed hexo-toc.
Then I noticed the rended page had something what didn't hiden: <!---toc---> and <!---toc stop--->.
This issue need to configure hexo-renderer-markdown-it by set
html: ture
eg.(hexo's _config.yml)