bulk-markdown-to-png

1.0.1 • Public • Published

bulk-markdown-to-png

Render a stream of markdown files to a tarball of pngs

npm install -g bulk-markdown-to-png

build status

Usage

dat clone npm.dathub.org --skim
dat cat --gte dat --limit 20 | bulk-markdown-to-png > readmes.tar

Programmatic usage

var render = require('bulk-markdown-to-png')
var fs = require('fs')
 
var transform = render()
 
transform.write('{"key":"hello", "readme":"# hello world"}')
transform.end()
 
transform.pipe(fs.createWriteStream('readmes.tar'))

Using docker

Since this contains some binary dependencies there is also a docker build available

dat cat --gte dat --limit 20 | docker run -i --rm mafintosh/bulk-markdown-to-png > readmes.tar

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.11latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.11
1.0.01

Package Sidebar

Install

npm i bulk-markdown-to-png

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mafintosh