@eigenjoy/remark-leanpub

0.0.9 • Public • Published

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(...)

License

MIT © Nate Murray

Readme

Keywords

Package Sidebar

Install

npm i @eigenjoy/remark-leanpub

Weekly Downloads

1

Version

0.0.9

License

MIT

Last publish

Collaborators

  • eigenjoy
  • fullstackio