Contents

Pygments 2.17.2

0

Pygments is a syntax highlighting package written in Python.

Pygments is a syntax highlighting package written in Python.

Stars: 1694, Watchers: 1694, Forks: 614, Open Issues: 444

The pygments/pygments repo was created 4 years ago and the last code push was 11 hours ago.
The project is very popular with an impressive 1694 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
License
BSD-2-Clause
Homepage
PyPi:
https://pypi.org/project/Pygments/
Documentation:
https://pygments.org/docs
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 444 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 13.7.1

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