Skip to content
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

Something U have to do when U use the third-party plug-in 'hexo-toc' together. #35

Closed
KevinHu-1024 opened this issue Feb 20, 2016 · 2 comments

Comments

@KevinHu-1024
Copy link

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)

# Markdown-it config
## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wiki
markdown:
  render:
    html: true
@celsomiranda
Copy link
Collaborator

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. :/

@oupala
Copy link

oupala commented Feb 26, 2018

I'm encountering the exact same problem.

I created an issue on hexo-toc issue tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants