prism-markdown-loader
v1.0.1
Published
prism-markdown-loader for webpack
Downloads
1
Maintainers
Readme
prism-markdown-loader
prism-markdown-loader for webpack
Installation
npm install prism-markdown-loader
Usage
Since markdown-it's output is HTML, it's best served in conjunction with the html-loader.
Webpack
{
module: {
rules: [{
test: /\.md$/,
use: [
{
loader: "html-loader"
},
{
loader: "prism-markdown-loader",
options: {
/* your options here */
}
}
]
}]
}
}
Options
Pass your markdown-it options as shown above.
License
MIT (http://www.opensource.org/licenses/mit-license.php)