This package provides the core functionality of the Skylighting project,
a Haskell syntax highlighting library with support for KDE XML syntax
highlighting descriptions.
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.
Changes
Revision history for skylighting-core
0.7.7 – 2019-02-27
Add parseSyntaxDefinitionFromString [API change].
Fix parseSyntaxDefinition so that language.dtd no longer needed.
We strip out the SYSTEM “language.dtd” part of the doctype
if present, leaving any inline entity definitions.
This applies to both parseSyntaxDefinition and
parseSyntaxDefinitionFromString.
Revised documentation of bootstrap build.
Makefile - fix bootstrap target.
Use FilePath instead of String for path (#64, anchpop).
0.7.6 – 2019-02-08
Update xml definitions for C, CPP, D, Haskell, Maxima, PHP,
Ruby, Typescript.
Fix regex problem in erlang.xml (#63).
Export WordSet constructors (#62, Chris Martin).
Add support for protobuf (#60).
0.7.5 – 2018-12-01
Updated definitions for cmake, lua, prolog, rust, yacc,
javascript.
Added definition for sml (#53).
Added definition for J (#50).
Added definition for typescript (#57).
Fix comments preceded by multiple spaces in bash.xml (#54).
Add *.txt extension and text/plain mime type to default.xml
(#48).
Add file:/// if we have a Windows path with a drive.
Otherwise HXT will take it to be a URI. See jgm/pandoc#4836.
0.7.4 – 2018-10-08
HTML output: use title instead of data-line-number.
data- attributes are not valid HTML 4, and we would like this to
work with HTML 4 (e.g. in epub v2). See jgm/pandoc#4920.