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
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 4.15
head ⚡️ HEAD

Depends on:

lua 5.4.7 Powerful, lightweight programming language

Depends on when building from source:

boost 1.87.0 Collection of portable C++ source libraries
pkgconf 2.4.3 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
highlight 278
Installs on Request (30 days)
highlight 265
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 1,892
highlight --HEAD 2
Installs on Request (90 days)
highlight 1,813
highlight --HEAD 2
Installs (365 days)
highlight 8,495
highlight --HEAD 15
Installs on Request (365 days)
highlight 8,007
highlight --HEAD 15
Fork me on GitHub