plain text python source -> HTML syntax highlighted source

ben at co.and.co ben at co.and.co
Mon May 1 12:00:43 EDT 2000


Ivan Van Laningham <ivanlan at callware.com> wrote:
> Hi All--
> 
> Mike Steed wrote:
>> 
> [snip]
>> 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. ...
 
:set expandtab
:retab

Greetings,
-- 
ben . de . rydt at pandora . be ------------------ your comments
http://users.pandora.be/bdr/ ------- inl. IPv6, Linux en Pandora




More information about the Python-list mailing list