sharkdown

markdown in your shell

npm install sharkdown
10 downloads in the last day
143 downloads in the last week
601 downloads in the last month

Build Status

sharkdown

usage

npm install --save sharkdown

Or as a handy utility:

npm install sharkdown -g

And then you can do:

sharkdown file.md
sharkdown < "markdown data"

api

sharkdown(str)

Takes a string, returns a string with markdown encoded as control codes for a shell.

sharkdown()

Returns a through-stream for pipes.

example

var sharkdown = require('sharkdown');

process.stdin
    .pipe(sharkdown())
    .pipe(process.stdout);
npm loves you