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
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