Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pygments (http://pygments.org/) will also turn code into syntax highlighted HTML.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: