A Metalsmith plugin to convert markdown files.
$ npm install metalsmith-markdown
Install via npm and then add the metalsmith-markdown key to your metalsmith.json plugins with any kramed options you want, like so:
{
"plugins": {
"metalsmith-markdown": {
"smartypants": true,
"gfm": true,
"tables": true
}
}
}Pass options to the markdown plugin and pass it to Metalsmith with the use method:
var markdown = require('metalsmith-markdown');
metalsmith.use(markdown({
smartypants: true,
gfm: true,
tables: true
}));MIT