plain text python source -> HTML syntax highlighted source
MSteed at altiris.com
Mon May 1 18:34:11 CEST 2000
> From: Ivan Van Laningham [mailto:ivanlan at callware.com]
> Sent: Monday, May 01, 2000 9:38 AM
> To: Python Mailing List
> Subject: Re: plain text python source -> HTML syntax
> highlighted source
> Hi All--
> Mike Steed wrote:
> > This is probably not what you were thinking of, but Vim can
> > do this. Open your file and choose Syntax->Convert to HTML.
> > The output is an HTML-ized version of your file with whatever
> > syntax highlighting you have defined.
> I didn't know you could do this. This is really cool, but be warned
> that it does not expand tabs into spaces, so the html version may
> *still* not look exactly like you want. ...
Hmm, maybe in an older version. The script (syntax/2html.vim) that comes
with Vim 5.6 converts tabs to spaces according to your current 'tabstop'
> <where's-html-nanny-when-you-need-it?>-ly y'rs,
More information about the Python-list