pygments
« Back to VersTracker
Description:
Generic syntax highlighter
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: syntax-highlighting python developer-tools library code-formatting
Install: brew install pygments
About:
Pygments is a Python syntax highlighting library designed to process source code and convert it into formatted output like HTML, ANSI, or RTF. It supports over 550 programming languages and text formats, making it highly versatile for documentation tools and web applications. Its main value lies in its extensibility and ease of integration into various workflows.
Key Features:
  • Supports over 550 languages and formats
  • Multiple output formats (HTML, LaTeX, RTF, SVG, etc.)
  • Extensible via custom lexers and styles
  • No external dependencies required
Use Cases:
  • Generating syntax-highlighted HTML for blogs and documentation
  • Building code analysis or linting tools
  • Adding colorized output to terminal applications
Alternatives:
  • highlight.js – JavaScript-based, better suited for client-side web rendering
  • rouge – Ruby-based, commonly used by static site generators like Jekyll
Version History
Detected Version Rev Change Commit
Jan 5, 2025 5:05pm 0 VERSION_BUMP a6e44dc9
Oct 9, 2024 8:25pm 0 VERSION_BUMP 7d550daa
Aug 24, 2024 10:44pm 0 VERSION_BUMP 03facce2
May 4, 2024 4:14pm 0 VERSION_BUMP a9079dc3
May 4, 2024 3:38pm 0 VERSION_BUMP bace6a9b
Nov 23, 2023 9:51am 0 VERSION_BUMP 0dbb697f
Oct 9, 2023 2:04pm 1 VERSION_BUMP cf172b87
Sep 13, 2023 6:53pm 0 VERSION_BUMP c31727e3
Apr 23, 2023 10:21am 0 VERSION_BUMP df665f02
Apr 19, 2023 3:22pm 0 VERSION_BUMP 1ab9d885