metalsmith-remark
![Dependency Status](https://camo.githubusercontent.com/330b1a9b53ec47978fc8c9b4f679c32ca8ed88c7e82f2b43d57a64accbe98bac/68747470733a2f2f67656d6e617369756d2e636f6d2f62656e2d65622f6d6574616c736d6974682d72656d61726b2e737667)
Convert markdown to html with remark.
If you have any issues with the output of this plugin, please use the remark tracker.
With npm do:
npm install metalsmith-remark --save
The remark-html plugin is bundled for you automatically:
var remark = require('metalsmith-remark'),
Metalsmith = require('metalsmith');
Metalsmith('fixtures')
.use(remark())
.build(function (err) {
if (err) {
throw err;
}
});
Add further plugins by passing an array:
var rmBadges = require('remark-strip-badges'),
rmParas = require('remark-squeeze-paragraphs');
Metalsmith('fixtures')
.use(remark([ rmBadges, rmParas ]))
.build(function (err) {
if (err) {
throw err;
}
});
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Ben Briggs