snarkdown-loader
Getting Started
A lightweight markdown loader using snarkdown
To begin, you'll need to install snarkdown-loader
:
npm install snarkdown-loader --save-dev
Then add the loader to your webpack
config. For example:
index.js
;
webpack.config.js
moduleexports = module: rules: test: /.md$/ use: loader: `snarkdown-loader` ;
And run webpack
via your preferred method.
Example
webpack.config.js
moduleexports = module: rules: test: /.md$/ use: loader: 'html-loader' // Exports HTML as string loader: `snarkdown-loader` // converts the markdown to HTML ;
Contributing
Please take a moment to read our contributing guidelines if you haven't yet done so.
Maintained by
