I'm happy to announce the second public release of Pygments, the
generic Python syntax highlighter.
Download it from <http://cheeseshop.python.org/pypi/Pygments>, or
look at the demonstration at <http://pygments.pocoo.org/demo>.
The new features since 0.5.1 include:
* New lexers: Scheme, Bash, Apache configs, Myghty templates, Groff.
* New RTF formatter.
* Added option for the HTML formatter to write the CSS to an external file
in "full document" mode.
* Improved guessing methods for various lexers.
* Support for guessing input encoding added.
* Encoding support added: all processing is now done with Unicode strings,
input and output are converted from and optionally to byte strings.
* License change to BSD.
In other news, the Trac 0.11 trunk already includes support for Pygments as
the default highlighting library.
Pygments is a generic syntax highlighter for general use in all kinds of
software such as forum systems, wikis or other applications that need to
prettify source code. Highlights are:
* a wide range of common languages and markup formats is supported
* special attention is paid to details increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats is available, presently HTML, LaTeX, RTF
and ANSI sequences
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainf*ck!
The home page is at <http://pygments.pocoo.org>.
Read more in the FAQ list <http://pygments.pocoo.org/faq> or
look at the documentation <http://pygments.pocoo.org/docs>.