Skip to content

tj/node-pygments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygments

python pygmentize(1)

Installation

$ npm install visionmedia/node-pygments

Example

Language specified:

var highlight = require('pygments');

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

})

Guessing:

var highlight = require('pygments');

highlight(str, function(err, html){

})

License

MIT

About

little pygmentize(1) wrapper

Resources

Stars

Watchers

Forks

Packages

No packages published