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
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 2,131
Installs on Request (30 days)
highlight 1,300
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 12,992
highlight --HEAD 2
Installs on Request (90 days)
highlight 7,220
Installs (365 days)
highlight 83,216
highlight --HEAD 29
Installs on Request (365 days)
highlight 37,545
highlight --HEAD 18
Fork me on GitHub