/node-pygments

little pygmentize(1) wrapper

Primary LanguageJavaScript

pygments

python pygmentize(1)

Installation

$ npm install visionmedia/node-pygments

Example

Language specified:

var highlight = require('pygments');

highlight(str, 'js', function(err, html){

}, options)

Guessing:

var highlight = require('pygments');

highlight(str, function(err, html){

}, options)

To use options, see pygments options

License

MIT