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