@eigenjoy/remark-leanpub
v0.0.9
Published
Transform leanpub markdown
Downloads
2
Readme
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:
API
remark.use(leanpub)
Options
remark().use(leanpub, { preserveEmptyLines: false }).process(...)