Contents

Pygments 2.12.0

0

Pygments is a syntax highlighting package written in Python.

Pygments is a syntax highlighting package written in Python.

Stars: 1000, Watchers: 1000, Forks: 432, Open Issues: 384

The pygments/pygments repo was created 2 years ago and was last updated 9 hours ago.
The project is very popular with an impressive 1000 github stars!

How to Install pygments

You can install pygments using pip

pip install pygments

or add it to a project with poetry

poetry add pygments

Package Details

Author
Georg Brandl
License
BSD License
Homepage
https://pygments.org/
PyPi
https://pypi.org/project/Pygments/
GitHub Repo
https://github.com/pygments/pygments

Classifiers

  • Text Processing/Filters
  • Utilities
No  pygments  pypi packages just yet.

Errors

A list of common pygments errors.

Code Examples

Here are some pygments code examples and snippets.

GitHub Issues

The pygments package has 384 open issues on GitHub

  • Support comments in JSON
  • Plugin override
  • Add the file extension *.resource to the list of Robot Framework files.
  • lexer for the cplint language
  • Highlight Clojure ratios as Numbers
  • Some tests fail
  • Add UL4 lexer.
  • Scala language support
  • CI: Only deploy for upstream
  • Variable initialized with parentheses highlighted as function in C++
  • Highlight … (Ellipsis) in python lexer
  • elpi: fix lexing of -> in ctype
  • 'str' object has no attribute 'parent'
  • Use linespans for anchorlinenos
  • Whitespace token for Lexers [ijkl]

See more issues on GitHub

Related Packages & Articles

rich 12.5.1

Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal