Contents

Pygments 2.18.0

0

Pygments is a syntax highlighting package written in Python.

Pygments is a syntax highlighting package written in Python.

Stars: 1811, Watchers: 1811, Forks: 664, Open Issues: 460

The pygments/pygments repo was created 5 years ago and the last code push was 24 minutes ago.
The project is very popular with an impressive 1811 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
None
License
BSD-2-Clause
Homepage
None
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 460 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.9.2

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