4 ms·
Pygments (http://pygments.org/ http://pygments.org/) will also turn code into syntax highlighted HTML.
by michaelfairley 15y ago
Pygments (http://pygments.org/ http://pygments.org/) will also turn code into syntax highlighted HTML.
- drtse4 15y agoAnd 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-css/ http://www.uraimo.com/2011/09/21/from-vim-theme-to-pygments-...
- davidcuddeback 15y agoThanks. Pygments looks better than other solutions I've looked at. I just found a Ruby wrapper for Pygments: https://github.com/tmm1/pygments.rb https://github.com/tmm1/pygments.rb