Syntax Coloring

Tyler Eaves tyler at cg1.org
Sat May 3 15:29:29 EDT 2003


Salvatore wrote:

> Hello,
> 
> I have a Forum site for beginners in Python
> running on Zope Squishdot.
> I would like to publish python scripts with syntax coloring.
> Although Squishdot support HTML tags it does not support the <PRE> tag
> Does anyone have a solution ?
> 
> Thanks
> 
> Salvatore

Hrmm, untested off the cuff idea:

vim can output syntax-highlighted HTML

Maybe figure out a way to harness that?

Here's a sample, wiht my color setup (easily changeable)

http://tylere.ath.cx/urllib.html





More information about the Python-list mailing list