Awesome
Markdown (marked + highlight.js) loader for webpack
Install
$ npm i -S markdown-highlight-loader
Usage
/*
include highlight.js theme styles, for example in "vendor" chunk:
entry: {
vendor: [
…
'highlight.js/styles/railscasts.css'
],
…
}
*/
module: {
loaders: [ {
test: /\.md$/,
loader: 'html!markdown-highlight'
// loader: 'html!markdown-highlight?+breaks&-smartLists'
} ]
}