6.0.9 • Published 5 years ago

@fullstackio/remark-leanpub v6.0.9

Weekly downloads
47
License
MIT
Repository
github
Last release
5 years ago

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)

License

MIT © Nate Murray