skylighting
« Back to VersTracker
Description:
Flexible syntax highlighter using KDE XML syntax descriptions
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: syntax-highlighting haskell pandoc developer-tools cli
Install: brew install skylighting
About:
Skylighting is a Haskell library and command-line tool for syntax highlighting. It parses KDE XML syntax definitions to generate highly customizable, token-based output formats like ANSI, HTML, and LaTeX. Its primary value is providing robust, accurate highlighting for a wide array of programming languages within static site generators and document processing pipelines.
Key Features:
  • Parses KDE XML syntax definitions for language grammars
  • Supports multiple output formats including HTML, ANSI, and LaTeX
  • Used as the syntax highlighting engine for the Pandoc document converter
  • Provides a command-line interface for standalone file highlighting
Use Cases:
  • Integrating syntax highlighting into static site generators
  • Pre-processing source code for documentation generation
  • Building custom command-line tools that need to display colored code
Alternatives:
  • highlight.js – JavaScript-based, runs in browsers, whereas Skylighting is primarily a Haskell library/server-side tool.
  • pygments – Python-based, very widely supported, but requires a Python runtime unlike the Haskell-based Skylighting.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 11:01am 0 VERSION_BUMP 5234031a
Jan 8, 2025 2:40am 0 VERSION_BUMP ee0afa2d
Dec 23, 2024 8:15am 0 VERSION_BUMP ad552912
Dec 4, 2024 9:23am 0 VERSION_BUMP 0a908de8
Sep 13, 2024 11:41pm 0 VERSION_BUMP be1a906d