hipstersmoothie / markdown-it-vanilla-loader

Load markdown files to html in webpack. Uses markdown-it and assumes nothing about your configuration.
Apache License 2.0
2 stars 0 forks source link

ReferenceError: highlightjs is not defined (Add highlightjs as optional dep) #1

Open notiv-nt opened 5 years ago

hipstersmoothie commented 5 years ago

You must also install https://www.npmjs.com/package/highlight.js to get

run npm i highlight.js and require it. it should work that way. I should probably add highlight.js as an optional dep