highlight
« Back to VersTracker
Description:
Convert source code to formatted text with syntax highlighting
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: syntax-highlighting code-converter html latex cli
Install: brew install highlight
About:
Highlight is a versatile command-line tool that converts source code into formatted output (HTML, LaTeX, RTF, ODT, etc.) with syntax highlighting. It supports over 200 programming languages and offers extensive customization for color themes and formatting. Its main value is automating the creation of visually readable code documentation for the web or print.
Key Features:
  • Supports over 230 programming languages and file formats
  • Outputs to HTML, XHTML, LaTeX, RTF, ODT, and more
  • Customizable syntax definitions and color themes
  • Fast processing and lightweight dependencies
Use Cases:
  • Generating syntax-highlighted HTML for static blogs or documentation
  • Creating formatted code snippets for academic papers using LaTeX
  • Batch processing source files for code review or archiving
Alternatives:
  • Pygments – Python-based library with broader language support but heavier dependencies
  • Code2HTML – Older utility with fewer output formats and language definitions
Version History
Detected Version Rev Change Commit
Mar 4, 2026 5:45pm 1 REVISION_ONLY fc6c70cc
Sep 28, 2025 11:19pm 0 VERSION_BUMP 97e08ed2
Sep 28, 2025 11:00pm 0 VERSION_BUMP 3b9e4f33
Jan 7, 2025 8:02pm 0 VERSION_BUMP 43ff25d6
Sep 17, 2024 2:46am 0 VERSION_BUMP 0235daf5
Aug 11, 2024 9:34pm 0 VERSION_BUMP 0f85cb10
Oct 21, 2023 10:18pm 0 VERSION_BUMP 474c8b2d
May 23, 2023 1:45pm 0 VERSION_BUMP e0a995b9
Mar 16, 2023 1:32am 0 VERSION_BUMP 7c492f5d
Mar 16, 2023 1:32am 0 VERSION_BUMP 5f9ea11e