1.0.1 • Published 6 years ago
showdown-loader v1.0.1
markdown (showdown-ghost) loader for webpack
Installation
npm install -S showdown-loader
Usage
In your webpack.config.js
file:
module.exports = {
module: {
loaders: [{
test: /\.md/,
loader: 'showdown'
}]
}
};
See webpack
documentation.
Optional
If you already have html-loader
included you can do this:
module.exports = {
module: {
loaders: [{
test: /\.md/,
loader: 'html!showdown'
}]
}
};