Colorized HTML from Python source

insyte at petra.squad51.net insyte at petra.squad51.net
Tue Sep 26 18:41:28 CEST 2000


>> I know I've seen several sites with very nicely colorized Python source
>> code.  They all seem to be using the same engine to do this, but I can't
>> seem to track it down.  Is there a standard utility for reading Python
>> source and producing a spiffy colorized HTML version?
>
>As an unabashed and incurable Vim bigot, I must point out that Vim lets you
>define whatever highlighting you want.  Then you can choose Syntax->Convert
>to HTML to get an HTML version of your file with the same highlighting.

As an unabashed and incurable Vim bigot, I would be extremely interested
in the specifics of how to do what you are describing.  I have not used
syntax highlighting very much...

Ben

-- 
Ben Beuchler                                         insyte at bitstream.net
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net



More information about the Python-list mailing list