Update dependency Pygments to v2.21.0 #184
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/pygments-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==2.20.0→==2.21.0Release Notes
pygments/pygments (Pygments)
v2.21.0Compare Source
(released August 17th, 2026)
New lexers:
Updated lexers:
$@or@$prefixes (#2685)
union(#3182).ippas a file extension (#3141, #1008)\spaceand\o377as a single token (#979)constructs such as
template,classandnamespace(#3127)SET(#3167)argumentsobject (#3146)?) consume the followingcharacter, so
Foo?,anda?:btokenize correctly (#2964)***...***and___...___) (#3067)embedded code blocks (#3133)
\[Name]named-character escapes such as\[Nu]instead of emitting anErrortoken (#3097)...line continuations in functiondefinition signatures (#659)
SET(#3110)sentinel(#3114)frozendict(#3119).and+in directive/role names (#3085)<<after),]or}as the shift operatorrather than the start of a heredoc (#760)
funca keyword inclass functype methods (#1125)$namevariable references at a dash (#1720)moduleas a keyword when followed bywhitespace, so identifiers like
modulesandmodule.exportsare highlighted correctly (#2823)
ymlalias (#3169), recognize non-breaking spaces as validscalar content (#2827)
New styles:
Fix catastrophic backtracking in
looks_like_xml(#2931, #3112)Improve monokai theme colors (#3100)
Improve handling of non-string types in
html_escapeto fix broken clients (#3090, #3086)LaTeX formatter: honor the wrapped lexer's
stripnland other inputoptions when
escapeinsideis set, so blank lines are no longer strippedunder
stripnl=false(#2975)RawTokenFormatter: fix a crash when
error_coloris set (#3215)Groff formatter: don't duplicate a character when word-wrapping (
wrap)a token that is not at the end of a line (#3201)
Add support for Python 3.15 (#3099)
Fix invalid
-Lvalues report success (#3217)Allow
transparentas a color style definition (#3180, #3170)HtmlFormatter:
"and'now render literally (#3185)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.