Skip to content

autopygmentize update#2894

Merged
Anteru merged 2 commits intopygments:masterfrom
rrthomas:autopygmentize-update
Jul 19, 2025
Merged

autopygmentize update#2894
Anteru merged 2 commits intopygments:masterfrom
rrthomas:autopygmentize-update

Conversation

@rrthomas
Copy link
Copy Markdown
Contributor

  • autopygmentize: support more file types
  • autopygmentize: make the fallthrough to use pygmentize -N universal

rrthomas added 2 commits May 22, 2025 18:41
Improves support for XML and Python, adds support for CSS, Go and Rust.
Rather than just trying it for files diagnosed as text/plain by the main
command (file(1) by default), try it for any otherwise unrecognized MIME
type.

This fixes support for e.g. Markdown.
@Anteru Anteru added this to the 2.20.0 milestone Jul 19, 2025
@Anteru Anteru merged commit 01aac4d into pygments:master Jul 19, 2025
14 of 15 checks passed
@rrthomas rrthomas deleted the autopygmentize-update branch July 19, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants