python-Pygments

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 (show unmerged sources)
Filename Size Changed
pygments-2.18.0.tar.gz 0004891905 4.67 MB
python-Pygments.changes 0000047949 46.8 KB
python-Pygments.spec 0000003458 3.38 KB
skip-wcag-contrast-ratio.patch 0000000804 804 Bytes
Latest Revision
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 113)
- Update to 2.18.0:
  - New lexers: Janet, Lean 4, Luau, Mojo, org-mode, Promela,
    Soong / Android.bp, Tact, Typst
  - Updated lexers:
    - Awk: recognize ternary operator
    - Bash: add openrc alias
    - Coq: add keywords, lex more vernacular command arguments,
      produce
    - fewer tokens on heading comments
    - DNS zone files: Fix comment parsing
    - Hy: Support unicode literals
    - Inform6: Update to Inform 6.42
    - lean: Fix name handling
    - Logtalk: add uninstantiation keyword and recognize
    - escape sequences
    - Macaulay2: Update to 1.23
    - Python: fix highlighting of soft keywords before
      None/True/False
    - reStructuredText: use Token.Comment for comments instead of
    - Comment.Preproc
    - Rust: highlight :, :: and -> as Punctuation
    - and whitespace as Whitespace, instead of Text
    - in both cases
    - Spice: Add keywords
    - SQL Explain: allow negative numbers
    - Swift: Support multiline strings
    - ThingsDB: add constants and new functions; support template
    - strings
    - UL4: support nested <?doc?> and <?note?> tags
    - VHDL: support multi-line comments of VHDL-2008
Comments 0
openSUSE Build Service is sponsored by