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.17
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 640
highlight --HEAD 2
Installs on Request (30 days)
highlight 629
highlight --HEAD 2
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 1,245
highlight --HEAD 2
Installs on Request (90 days)
highlight 1,221
highlight --HEAD 2
Installs (365 days)
highlight 6,053
highlight --HEAD 12
Installs on Request (365 days)
highlight 5,818
highlight --HEAD 12