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

Bottle JSON API: /api/bottle/highlight.json

Formula code: highlight.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 4.2
head ⚡️ HEAD

Depends on:

lua 5.4.4 Powerful, lightweight programming language

Depends on when building from source:

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

Analytics (macOS):

Installs (30 days)
highlight 1,650
Installs on Request (30 days)
highlight 1,118
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 7,846
highlight --HEAD 1
Installs on Request (90 days)
highlight 5,216
Installs (365 days)
highlight 24,026
highlight --HEAD 1
Installs on Request (365 days)
highlight 15,731

Analytics (Linux):

Installs (30 days)
highlight 26
Installs on Request (30 days)
highlight 24
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 71
Installs on Request (90 days)
highlight 69
Installs (365 days)
highlight 237
Installs on Request (365 days)
highlight 236
Fork me on GitHub