Skip to content

Something U have to do when U use the third-party plug-in 'hexo-renderer-markdown-it' together. #8

Closed
@KevinHu-1024

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions