highlight

Install command:
brew install highlight

Convert source code to formatted text with syntax highlighting

http://www.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:

Intel ventura
monterey
big sur
64-bit linux
Apple Silicon ventura
monterey
big sur

Current versions:

stable 4.6
head ⚡️ HEAD

Depends on:

lua 5.4.6 Powerful, lightweight programming language

Depends on when building from source:

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

Analytics:

Installs (30 days)
highlight 2,993
Installs on Request (30 days)
highlight 1,831
Build Errors (30 days)
highlight 0

Analytics (macOS):

Installs (90 days)
highlight 79
Installs on Request (90 days)
highlight 62
Installs (365 days)
highlight 18,398
highlight --HEAD 6
Installs on Request (365 days)
highlight 13,172

Analytics (Linux):

Installs (90 days)
highlight 0
Installs on Request (90 days)
highlight 0
Installs (365 days)
highlight 288
Installs on Request (365 days)
highlight 288
Fork me on GitHub