CHENXCHEN / hexo-renderer-markdown-it-plus

Markdown-it is a markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
https://chchc.me/hexo-article/2017/07/27/hexo-renderer-markdown-it-plus-plugin-demo/
MIT License
115 stars 22 forks source link

Conflict between markdown render and Nunjucks #19

Open ahuigo opened 6 years ago

ahuigo commented 6 years ago

Is there any way to disable nunjucks?

Template render error: (unknown path) [Line 81, Column 26]
  Error: Unable to call `helper["shtml"]`, which is undefined or falsey
    at Object._prettifyError (/Users/hilojack/www/a/blog2/node_modules/nunjucks/src/lib.js:36:11)

https://github.com/hexojs/hexo/pull/2593/files The hexo provide an option disableNunjucks. How can I pass it to markdown-it-plus render?