highlight

Install command:
brew install highlight

Convert source code to formatted text with syntax highlighting

http://andre-simon.de/doku/highlight/en/highlight.php

License: GPL-3.0-or-later

Formula JSON API: /api/formula/highlight.json

Formula code: highlight.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.18
head ⚡️ HEAD

Depends on:

lua 5.4.8 Powerful, lightweight programming language

Depends on when building from source:

boost 1.89.0 Collection of portable C++ source libraries
pkgconf 2.5.1 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
highlight 940
highlight --HEAD 4
Installs on Request (30 days)
highlight 930
highlight --HEAD 4
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 2,387
highlight --HEAD 9
Installs on Request (90 days)
highlight 2,354
highlight --HEAD 9
Installs (365 days)
highlight 6,848
highlight --HEAD 15
Installs on Request (365 days)
highlight 6,650
highlight --HEAD 15