Pygments  2.9.0
About: Pygments is a generic syntax highlighting engine (written in Python) for source code of different languages (or other markup) supporting output formats like HTML, LaTeX, RTF, or ANSI sequences.
  Fossies Dox: Pygments-2.9.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Pygments Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies Pygments-2.9.0.tar.gz contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).

Welcome to Pygments

This is the source of Pygments. It is a generic syntax highlighter written in Python that supports over 500 languages and text formats, for use in code hosting, forums, wikis or other applications that need to prettify source code.


... works as usual, use pip install Pygments to get published versions, or python install to install from a checkout.


... can be found online at or created with Sphinx by :

cd doc
make html


... takes place on GitHub, where the Git repository, tickets and pull requests can be viewed.

Continuous testing runs on GitHub workflows:


The authors

Pygments is maintained by Georg Brandl, e-mail address and Matthäus Chajdas.

Many lexers and fixes have been contributed by Armin Ronacher, the rest of the Pocoo team and Tim Hatch.

The code is distributed under the BSD 2-clause license. Contributors making pull requests must agree that they are able and willing to put their contributions under that license.