What's up with enscript for syntax highlighting?

Phlip phlip_cpp at my-deja.com
Sun Feb 18 14:23:14 EST 2001


Noh Typ:

Here's a command for GNU enscript 1.6.1:

enscript --pretty-print=python Kozmik.py --language=html 
--output=Kozmik.py.html 

The output ain't pretty. It uses no colors.

How do I convert Python to syntax highlighted HTML? Is there a class 
library available somewhere on www.python.org (perhaps under "hilite" or 
something? or is there a better version of enscript?

-- 
  Phlip                          phlip_cpp at my-deja.com
============ http://c2.com/cgi/wiki?PhlIp ============
  --  Personally qualified to snub Mensa  --



More information about the Python-list mailing list