Sourced from pygments's releases.
2.21.0
New lexers:
Updated lexers:
- Bash: Fix coloured keyword at the beginning of a name (#2926)
- Boogie: Add missing Boogie and Civl Verifier keywords (#3156)
- C#:
- C/C++:
- Clojure: Recognize named, octal and unicode character literals such as
\spaceand\o377as a single token (#979)- Csound: Add missing opcode parameter type letter (#3161)
- CUDA: Derive from the C++ lexer instead of C to highlight C++ constructs such as
template,classandnamespace(#3127)- D: Allow non-ASCII (Unicode) identifiers (#1088)
- Fish: Fix single quote backslash escape (#3138, #2821)
- Go: Various lexer improvements (#3199)
- GoogleSQL: Require a word break after
SET(#3167)- Hexdump: Only match valid digits (#3200, #2847)
- JavaScript: Highlight the
argumentsobject (#3146)- Jsonnet: Recognize colons in array slice expressions (#2828)
- JSX: Allow apostrophes in element text (#2816)
- Julia: Fix rstrings backslash (#3140, #2537)
- Kotlin: Support companion objects without an explicit name (#2525)
- Kotlin: Don't let a nullable type marker (
?) consume the following character, soFoo?,anda?:btokenize correctly (#2964)- Kusto: Recognize member-access dots in dynamic objects (#2779)
- Lua: Various improvements (#3143)
- Macaulay2: Update symbols to 1.26.05 (#3120)
- Markdown:
- Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for embedded code blocks (#3133)
- Mathematica: Recognize
\[Name]named-character escapes such as\[Nu]instead of emitting anErrortoken (#3097)
... (truncated)
Sourced from pygments's changelog.
Version 2.21.0
(released August 17th, 2026)
New lexers:
Updated lexers:
- Bash: Fix coloured keyword at the beginning of a name (#2926)
- Boogie: Add missing Boogie and Civl Verifier keywords (#3156)
- C#:
- C/C++:
- Clojure: Recognize named, octal and unicode character literals such as
\spaceand\o377as a single token (#979)- Csound: Add missing opcode parameter type letter (#3161)
- CUDA: Derive from the C++ lexer instead of C to highlight C++ constructs such as
template,classandnamespace(#3127)- D: Allow non-ASCII (Unicode) identifiers (#1088)
- Fish: Fix single quote backslash escape (#3138, #2821)
- Go: Various lexer improvements (#3199)
- GoogleSQL: Require a word break after
SET(#3167)- Hexdump: Only match valid digits (#3200, #2847)
- JavaScript: Highlight the
argumentsobject (#3146)- Jsonnet: Recognize colons in array slice expressions (#2828)
- JSX: Allow apostrophes in element text (#2816)
- Julia: Fix rstrings backslash (#3140, #2537)
- Kotlin: Support companion objects without an explicit name (#2525)
- Kotlin: Don't let a nullable type marker (
?) consume the following character, soFoo?,anda?:btokenize correctly (#2964)- Kusto: Recognize member-access dots in dynamic objects (#2779)
- Lua: Various improvements (#3143)
- Macaulay2: Update symbols to 1.26.05 (#3120)
- Markdown:
- Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for
... (truncated)
a43b45d
Get ready for the 2.21.0 release.d8f14cb
Fix version_added for Purescript.19c5817
Remove superfluous parentheses from PostgresExplainLexer (#3232)9992e09
Merge pull request #3191
from jvoisin/dupesbd22577
Fix regexlint warnings after latest update.6a62df1
Release preparation: Update the changelog.aabba32
Merge pull request #3221
from jvoisin/alterd3441d0
Merge pull request #3225
from jvoisin/caddyc593f3f
Add a lexer for Caddy0644b53
Simplify single-character regex alternations to character classes