macOS
brew install skylightinglocal Homebrew formula metadata
brew / rank 9234
Flexible syntax highlighter using KDE XML syntax descriptions. Version 0.15 via Homebrew; verified 2026-09-15. Also installable with debian: sudo apt install skylighting.
install
brew install skylightinglocal Homebrew formula metadata
sudo apt install skylightingDebian stable package indexes · skylighting · source: deb.debian.org
overview
Flexible syntax highlighter using KDE XML syntax descriptions
history
Skylighting is a Haskell library and optional command-line program for syntax highlighting with tokenizers derived from KDE XML syntax descriptions.
John MacFarlane created Skylighting as the successor to highlighting-kate. The earlier design compiled KDE XML descriptions into individual Parsec parsers, making circular IncludeRules and dynamic syntax loading difficult. Skylighting instead parses descriptions into Haskell data structures interpreted by a tokenizer.
The project later split its core and rendering formats into separate packages, continuously synchronized syntax definitions from KDE, and added formats and languages as the upstream definition set evolved.
Skylighting is distributed as a family of Haskell packages and is closely associated with Pandoc’s document-rendering ecosystem. Its modular formatters support ANSI, HTML, LaTeX, ConTeXt, and Typst output, while the command-line executable makes the same engine usable in shell pipelines.
Haskell programs use the library to select a syntax by name, extension, or filename, tokenize input, and render tokens through a formatter. The optional `skylighting` executable provides command-line highlighting, and users can dynamically load additional KDE XML definitions.
The package is notable for replacing generated, compiled parsers with interpreted KDE syntax descriptions. That architecture supports dynamically loaded definitions, reduces problems with included rules, and lets Haskell applications reuse the large KDE grammar ecosystem.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
skylighting | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jgm/skylighting
install metadata
| Package key | brew:skylighting |
|---|---|
| Version | 0.15 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/skylighting |
| Homepage | https://github.com/jgm/skylighting |
| Repository | https://github.com/jgm/skylighting |
| License | GPL-2.0-only |
| Source archive | https://hackage.haskell.org/package/skylighting-0.14.7/skylighting-0.14.7.tar.gz |
| Last updated | 2026-09-15T18:50:53Z |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | skylighting |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
skylighting 0.14.3-1
syntax highlighting tool
https://github.com/jgm/skylighting
sudo apt install skylightingskylighting 0.13.4.1-2
syntax highlighting tool
https://github.com/jgm/skylighting
sudo apt install skylightingsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.