The release of Pygments 2.6.1 has occurred. Pygments is a library for Python and a command-line utility for syntax highlighting. Pygments is used by Wikipedia, BitBucket, and Progopedia, for example. The output formats include: HTML, LaTeX, RTF, and ANSI escape sequences (in the console).
In the new version (the changes for version 2.6 are listed, version 2.6.1 fixes packaging issues):
- Support for Python 2 has been completely removed. Now only Python 3 is supported. Syntax highlighting for Python 2 has been preserved.
- Support for syntax highlighting has been added for
- Linux kernel logs;
- LLVM MIR;
- MiniScript;
- Mosel;
- Parsing Expression Grammar;
- ReasonML;
- Ride;
- Sieve;
- USD;
- WebIDL;
- Syntax highlighting formatting has been updated for
- Apache2;
- Chapel;
- CSound;
- D;
- Idris;
- Perl6/Raku;
- Python3;
- Rust (more built-in functions (mostly macros) and other new syntax are now covered);
- SQL (temporary support for keywords has been added);
- Support for italics has now been added in 256-color and truecolor terminals;
- Support for HTTP 2/3 headers has been added;
- Support for the absence of reason in the HTTP header has been added;
- For Boogie/Silver, support for line continuations and triggers has been added, and shortened keywords have been moved to a separate category;
- Support for comments in the C language style has been added for GAS;
- Names in the S language lexer have been fixed;
- Numeric literals for the Ada language have been corrected;
- .mjs files are now recognized as Javascript;
- .eex files are now recognized as Elixir;
- The use of re.MULTILINE has been corrected;
- Dependencies and lock files for pipenv and poetry are now recognized;
- Font search on Windows has been improved;
- Unused script blocks have been removed.
Source: linux.org.ru

