Hacker News new | ask | show | jobs
by michaelfairley 5205 days ago
Pygments (http://pygments.org/) will also turn code into syntax highlighted HTML.
2 comments

And then, if you need it, you can turn your vim theme in a pygments-compatible css: http://www.uraimo.com/2011/09/21/from-vim-theme-to-pygments-...
Thanks. Pygments looks better than other solutions I've looked at. I just found a Ruby wrapper for Pygments: https://github.com/tmm1/pygments.rb