remark-leanpub
remark plug-in to process leanpub markdown
NOTE: for now it is a hack that mostly strips things rather than handling them accurately
Installation
npm:
npm install remark-leanpub
Usage
Dependencies:
var remark = require('remark');
var leanpub = require('remark-leanpub');
Process:
var doc = remark().use(leanpub).process([
''
].join('\n'));
Yields: