4 ms·
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'
by trevorturk 17y ago
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 http://heroku.com, which is Ruby-only.
I saw something similar on HN a few days ago (http://news.ycombinator.com/item?id=821526 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 http://github.com/trevorturk/pygments), so you can fork, improve, host your own, etc.
Enjoy!