Install command:
brew install highlight

Convert source code to formatted text with syntax highlighting


License: GPL-3.0-or-later

/api/formula/highlight.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
Apple Silicon big sur

Current versions:

stable 4.0
head ⚡️ HEAD

Depends on:

lua 5.4.3 Powerful, lightweight programming language

Depends on when building from source:

boost 1.75.0 Collection of portable C++ source libraries
pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
highlight 8,161
highlight --HEAD 2
Installs on Request (30 days)
highlight 4,234
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 24,349
highlight --HEAD 8
Installs on Request (90 days)
highlight 12,258
highlight --HEAD 3
Installs (365 days)
highlight 90,456
highlight --HEAD 33
Installs on Request (365 days)
highlight 36,849
highlight --HEAD 23
Fork me on GitHub