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-renderer-markdown-it' together. #8

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 this plug-in.

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
@bubkoo
Copy link
Owner

bubkoo commented Apr 16, 2016

@KevinHu-1024

We need the placeholder <!--toc--> to indicate where the toc should be placed at.

So, I will document this issue when people use hexo-renderer-markdown-it.

@KevinHu-1024
Copy link
Author

@bubkoo

Thank you, it will be an useful tip. 😄

@bubkoo bubkoo closed this as completed Apr 16, 2016
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

2 participants