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

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

/api/bottle/highlight.json (Bottle JSON API)

Formula code on GitHub

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

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 4.1
head ⚡️ HEAD

Depends on:

lua 5.4.3 Powerful, lightweight programming language

Depends on when building from source:

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

Analytics:

Installs (30 days)
highlight 1,313
Installs on Request (30 days)
highlight 877
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 4,620
Installs on Request (90 days)
highlight 3,142
Installs (365 days)
highlight 71,472
highlight --HEAD 19
Installs on Request (365 days)
highlight 35,093
highlight --HEAD 9
Fork me on GitHub