Colorized HTML from Python source

insyte at petra.squad51.net insyte at petra.squad51.net
Wed Sep 27 22:05:23 EDT 2000


In article <8qsbuh$jkn$1 at newsserver.rrzn.uni-hannover.de>, Bernhard
Reiter wrote:

>> 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...
>
>Take a modern vim with syntax highlighting compiled in. 
>(Check vim --version, it should say +syntax.)
>
>Even better start up the gvim.
>There is a menu Syntax, which an item called: "Convert to HTML".
>
>If you do not run gvim, you can also trigger this vim script
>manually, like ":so $VIMRUNTIME/syntax/2html.vim".

Outstanding!  Very nice.

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