This is an unofficial API for the Pygments syntax highlighting library, version 1.2. It's designed to provide syntax highlighting for web applications that don't have Python installed. I made it so that I can use the Pygments Python library from http://heroku.com, which is Ruby-only.
Feel free to use it for your projects. I also open sourced the code (http://github.com/trevorturk/pygments), so you can fork, improve, host your own, etc.
3 comments
[ 2.5 ms ] story [ 10.3 ms ] threadI saw something similar on HN a few days ago (http://news.ycombinator.com/item?id=821526), but it didn't have an API. So, I made this one, which is _just_ an API :)
Feel free to use it for your projects. I also open sourced the code (http://github.com/trevorturk/pygments), so you can fork, improve, host your own, etc.
Enjoy!
http://github.com/trevorturk/pygments