views:

45

answers:

1

Hello, everyone

I'm looking for a python code highlighter for publishing as html. I've found this site http://quickhighlighter.com that does highlighting really well. However if I try to copy/paste some python code from it to a text file, I get a mess. If you know a better tool, please let me know.

Thanks in advance.

+7  A: 

pygmentize, which handles a lot more languages than just Python and a lot more formats than just HTML.

Ignacio Vazquez-Abrams