markdown-stream

v1.0.1
Tranform a stream of Markdown into HTML.
stream transform markdown html

markdown-stream

NPM version License Build status

Tranform a stream of Markdown into HTML (via Remarkable).

Installation

npm install markdown-stream

Usage

var fs       = require('fs')
var markdown = require('markdown-stream')

var input  = fs.createReadStream('README.md')
var output = fs.createWriteStream('README.html')

input
  .pipe(markdown('full', {
    html: true
  }))
  .pipe(output)

Options

Refer to Remarkable for presets and options.

Note

The module requires the whole stream to be buffered, so use it carefully.

npm i markdown-stream

Metadata

  • MIT
  • Whatever
  • Ellen Gummesson
  • released 5/1/2015

Downloads

Maintainers