skylighting-core: syntax highlighting library

[ bsd3, library, text ] [ Propose Tags ]

Skylighting is a syntax highlighting library. It derives its tokenizers from XML syntax definitions used by KDE's KSyntaxHighlighting framework, so any syntax supported by that framework can be added. An optional command-line program is provided. Skylighting is intended to be the successor to highlighting-kate. This package provides the core highlighting functionality under a permissive license. It also bundles XML parser definitions licensed under the GPL.

[Skip to Readme]


Automatic Flags

Build skylighting-extract tool


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.7,,, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.8, 0.8.1,,, 0.8.2,,,, 0.8.3,,,, 0.8.4, 0.8.5, 0.9, 0.10,,,, 0.10.1, 0.10.2, 0.10.3, 0.10.4,, 0.10.5,,, 0.11, 0.12, 0.12.1, 0.12.2, 0.12.3,, 0.13, 0.13.1,,, 0.13.2,, 0.13.3, 0.13.4,, 0.14, 0.14.1,,, 0.14.2
Change log
Dependencies aeson (>=1.0), attoparsec, base (>=4.8 && <5.0), base64-bytestring, binary, bytestring, case-insensitive, colour (>=2.0), containers (>=, directory (>=1.2.5), filepath, mtl, safe, skylighting-core, text, transformers, utf8-string, xml-conduit (>= && <1.10) [details]
License BSD-3-Clause
Copyright (C) 2016-2018 John MacFarlane
Author John MacFarlane
Category Text
Home page
Source repo head: git clone
Uploaded by JohnMacFarlane at 2022-10-28T22:57:29Z
Distributions Arch:0.14, Debian:0.8.5, Fedora:, LTSHaskell:0.14.2, NixOS:, Stackage:0.14.2, openSUSE:0.14.1
Reverse Dependencies 11 direct, 170 indirect [details]
Executables skylighting-extract
Downloads 57525 total (517 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-10-29 [all 1 reports]

Readme for skylighting-core-

[back to package description]


license skylighting-core build status

This package provides the core functionality of the Skylighting project, a Haskell syntax highlighting library with support for KDE XML syntax highlighting descriptions.

Formatters are no longer included in this package: see skylighting-format-ansi, skylighting-format-blaze-html, and skylighting-format-latex.

For details on how to use this package, see the Haddock documentation and the Skylighting README.

The Haskell code and related files in this package are licensed under the BSD3 license. This package also includes KDE XML syntax definitions which are provided under various licenses; see the XML files for details.