code2png

1.1.3 • Public • Published

code2png

Beautiful code screenshots without leaving the command line. Plays well with HTML-filtering input forms, Twitter, and all kinds of groovy things like that.

$ code2png index.js -o readme.png

Installation

$ npm install -g code2png

Usage

Pass a source file by name:

$ code2png foo.c

...or pipe it in:

$ cat foo.c | code2png -o foo.png

TODO

  • Support additional languages, themes

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i code2png

Weekly Downloads

0

Version

1.1.3

License

MIT

Last publish

Collaborators

  • rjz