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