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
120 stars 22 forks source link

Error: Cannot find module 'highlight.js' #2

Closed zhangyu0806 closed 7 years ago

zhangyu0806 commented 7 years ago

Error: Cannot find module 'highlight.js'

http://odandsezm.bkt.clouddn.com/Hexo/_image/2017-10-12-10-44-49.jpg

CHENXCHEN commented 7 years ago

just install highlight.js, npm install highlight.js --save

CHENXCHEN commented 7 years ago

sorry, my mistake, I will add this package to dependencies

CHENXCHEN commented 7 years ago

version 1.0.2 fix it.

zhangyu0806 commented 7 years ago

It works, thanks!