Pygments is a syntax highlighting package written in Python

Edit Package python-Pygments

Pygments is a syntax highlighting package written in Python.

It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:

* a wide range of common languages and markup formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
formats that PIL supports and ANSI sequences
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainfuck!

Refresh
Refresh
Source Files
Filename Size Changed
Pygments-2.12.0.tar.gz 0004282017 4.08 MB
python-Pygments.changes 0000029407 28.7 KB
python-Pygments.spec 0000003477 3.4 KB
Revision 36 (latest revision is 46)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 977386 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 36)
- update to 2.12.0:
  - Added lexers:
    * Cplint (#2045)
    * Macaulay2 (#1791)
    * Minecraft (#2107)
    * Qlik (#1925)
    * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd`` (#2112)
  - Updated lexers:
    * Agda: Update keyword list (#2017)
    * C family: Fix identifiers after ``case`` statements (#2084)
    * Clojure: Highlight ratios (#2042)
    * Csound: Update to 6.17 (#2064)
    * CSS: Update the list of properties (#2113)
    * Elpi:
      - Fix catastrophic backtracking (#2053, #2061)
      - Fix handling of ``->`` (#2028)
    * Futhark: Add missing tokens (#2118)
    * Gherkin: Add ``But`` (#2046)
    * Inform6: Update to 6.36 (#2050)
    * LilyPond:
      - Fix incorrect lexing of names containing a built-in (#2071)
      - Fix properties containing dashes (#2099)
    * PHP: Update builtin function and keyword list (#2054, #2056)
    * Scheme: Various improvements (#2060)
    * Spice: Update the keyword list, add new types (#2063, #2067)
    * Terraform:
      - Support non-idiomatic comments (#2065, #2066)
      - Fix class name lexing (#2097)
  - Add ``plugins`` argument to ``get_all_lexers()``.
  - Bump minimal Python version to 3.6 (#2059)
Comments 0
openSUSE Build Service is sponsored by