Hi together! The GNU tool source-highlight, a code beautifier by Lorenzo Bettini that produces syntax highlighted HTML and XHTML documents from source code, now recognizes Python, too. You can get it here: http://www.gnu.org/software/src-highlite/ The Python scanner was written by me and still needs some verifying; so if you find bugs (I hope not...), have suggestions or are simply full of praise ;-) you can send a mail to me. I also provide a small KDE frontend for source-highlight which you can get here: http://murphy.netsolution-net.de/Ksrc2.html Have fun! Martin
Martin Gebert wrote:
Hi together!
The GNU tool source-highlight, a code beautifier by Lorenzo Bettini that produces syntax highlighted HTML and XHTML documents from source code, now recognizes Python, too. You can get it here:
As a batch tool it would be useful. But if you use 'gvim' (graphical frontend for vim), you don't need this. You can just edit the file, and click Syntax - Convert to HTML. Gvim will automatically create a new color-highlighted HTML file from the currently edited file. Gvim supports syntax highlighting for over 100 languages, Python included. -- Milos Prudek
...and DTML too - helps with those dratted <dmtl-... typos :) Milos Prudek wrote:
Martin Gebert wrote:
Hi together!
The GNU tool source-highlight, a code beautifier by Lorenzo Bettini that produces syntax highlighted HTML and XHTML documents from source code, now recognizes Python, too. You can get it here:
As a batch tool it would be useful. But if you use 'gvim' (graphical frontend for vim), you don't need this. You can just edit the file, and click Syntax - Convert to HTML. Gvim will automatically create a new color-highlighted HTML file from the currently edited file. Gvim supports syntax highlighting for over 100 languages, Python included.
Milos Prudek <milos.prudek@tiscali.cz> wrote:
Martin Gebert wrote:
Hi together!
The GNU tool source-highlight, a code beautifier by Lorenzo Bettini that produces syntax highlighted HTML and XHTML documents from source code, now recognizes Python, too. You can get it here:
As a batch tool it would be useful. But if you use 'gvim' (graphical frontend for vim), you don't need this. You can just edit the file, and click Syntax - Convert to HTML. Gvim will automatically create a new color-highlighted HTML file from the currently edited file. Gvim supports syntax highlighting for over 100 languages, Python included.
In emacs, use htmlize-buffer to do that. It's in 'htmlize.el', in package emacs-goodies-el in Debian. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (4)
-
Ben Avery -
Florent Guillaume -
Martin Gebert -
Milos Prudek