|| ||Georg Brandl <georg-AT-python.org>|
|| ||Pygments 0.11 =?ISO-8859-15?Q?=22Strau=DFenei=22_released?=|
|| ||Sat, 23 Aug 2008 17:06:06 +0200|
I've just uploaded the Pygments 0.11 packages to CheeseShop. Pygments is a
generic syntax highlighter written in Python.
Download it from <http://pypi.python.org/pypi/Pygments>, or look at the
demonstration at <http://pygments.org/demo>.
Many thanks go to Tim Hatch for writing or integrating most of the bug
fixes and new features in this release. Of course, thanks to all other
- Lexers added:
* Nasm-style assembly language, thanks to delroth
* YAML, thanks to Kirill Simonov
* ActionScript 3, thanks to Pierre Bourdon
* Cheetah/Spitfire templates, thanks to Matt Good
* Lighttpd config files
* Nginx config files
* Gnuplot plotting scripts
* POV-Ray scene files
* Sqlite3 interactive console sessions
* Scala source files, thanks to Krzysiek Goj
- Lexers improved:
* C lexer highlights standard library functions now and supports C99
* Bash lexer now correctly highlights heredocs without preceding
* Vim lexer now highlights hex colors properly and knows a couple
* Irc logs lexer now handles xchat's default time format (#340) and
correctly highlights lines ending in ``>``.
* Support more delimiters for perl regular expressions (#258).
* ObjectiveC lexer now supports 2.0 features.
- Added "Visual Studio" style.
- Updated markdown processor to Markdown 1.7.
- Support roman/sans/mono style defs and use them in the LaTeX
- The RawTokenFormatter is no longer registered to ``*.raw`` and it's
documented that tokenization with this lexer may raise exceptions.
- New option ``hl_lines`` to HTML formatter, to highlight certain
- New option ``prestyles`` to HTML formatter.
- New option *-g* to pygmentize, to allow lexer guessing based on
filetext (can be slowish, so file extensions are still checked
- ``guess_lexer()`` now makes its decision much faster due to a cache
of whether data is xml-like (a check which is used in several
versions of ``analyse_text()``. Several lexers also have more
accurate ``analyse_text()`` now.
Support the Python Software Foundation:
to post comments)