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.80.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,016
Installs on Request (30 days)
highlight 750
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 3,453
highlight --HEAD 2
Installs on Request (90 days)
highlight 2,541
highlight --HEAD 1
Installs (365 days)
highlight 18,752
highlight --HEAD 4
Installs on Request (365 days)
highlight 13,169
highlight --HEAD 2

Analytics (Linux):

Installs (30 days)
highlight 30
Installs on Request (30 days)
highlight 30
Build Errors (30 days)
highlight 0
Installs (90 days)
highlight 119
Installs on Request (90 days)
highlight 119
Installs (365 days)
highlight 289
Installs on Request (365 days)
highlight 287
Fork me on GitHub