skylighting VS syntax-highlighting

Compare skylighting vs syntax-highlighting and see what are their differences.

skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions (by jgm)

syntax-highlighting

Syntax highlighting Engine for Structured Text and Code. (by KDE)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
skylighting syntax-highlighting
2 6
185 134
- 0.0%
7.6 9.5
5 days ago 4 days ago
Haskell HTML
GNU General Public License v2.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

skylighting

Posts with mentions or reviews of skylighting. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-23.
  • Pygmentising Hakyll's Syntax Highlighting
    1 project | /r/haskell | 22 Jan 2023
    If anyone wants to try this, the file is here: https://github.com/jgm/skylighting/blob/master/skylighting-core/xml/haskell.xml
  • Custom syntax highlighting in quarto doc code chunks
    3 projects | /r/RStudio | 23 Oct 2022
    2) Pandoc invokes the skylight Haskell library, which uses XML syntax descriptions to define which tokens/pieces of a given language have which "role". Skylight will parse your code and tag each part of it according to those rules. You can edit those XML files (or create new ones). Check this page for a description of how they work. You'll find the existing KDE XML syntax descriptors here.

syntax-highlighting

Posts with mentions or reviews of syntax-highlighting. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-23.
  • Python port of syntax-highlighting (from the Kate editor)
    1 project | /r/kde | 7 Nov 2022
    I'm building an app with Python and Pyside6, and within that, I need to have some syntax highlighting for files. I've found that this can be implemented using QSyntaxHighlighter, however, I was wondering, with apps like Kate and the like, and having stumbled across this, whether there was a Python port: https://github.com/KDE/syntax-highlighting
  • Custom syntax highlighting in quarto doc code chunks
    3 projects | /r/RStudio | 23 Oct 2022
    2) Pandoc invokes the skylight Haskell library, which uses XML syntax descriptions to define which tokens/pieces of a given language have which "role". Skylight will parse your code and tag each part of it according to those rules. You can edit those XML files (or create new ones). Check this page for a description of how they work. You'll find the existing KDE XML syntax descriptors here.
  • Python and TOML: New Best Friends – Real Python
    1 project | /r/Python | 13 Jul 2022
    I like XML for Kate's syntax highlighting definitions. Check this out, it really blows the TextMate JSON mess out of the water in clarity: https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/context.xml
  • Im searching for text editor example with text completion and coloring
    2 projects | /r/QtFramework | 5 Oct 2021
    Something like this? https://github.com/KDE/syntax-highlighting
  • Can Kate editor fold-nest simple tab-based outlines? (Syntax highlighting)
    1 project | /r/kde | 27 Sep 2021
    I agree, it is a bit hard to fully grasp how the syntax highlighting (and folding) definitions work. I think looking at the existing definitions (e.g. the Python syntax definition) greatly helps. Customizing the folding behavior to your particular need might need a bit more rules. I think you can get help on irc://irc.kde.org/kate or #kate on matrix
  • What aspects of Linux needs to be standardized?
    3 projects | /r/linuxquestions | 27 Jan 2021
    The de-facto standard for spellchecking on Linux is Hunspell. There is also a KDE standard for syntax highlighting (and other apps do use it): https://github.com/KDE/syntax-highlighting

What are some alternatives?

When comparing skylighting and syntax-highlighting you can also consider the following projects:

pandoc - Universal markup converter

datadog-agent - Main repository for Datadog Agent

highlighting-kate

ckb - RGB Driver for Linux and OS X

modern-uri - Modern library for working with URIs

pandoc-goodies - A tresure-box of resources for pandoc, pp and Texts word processor.

wybor - Console line fuzzy search

pretty - Haskell Pretty-printer library

arx - Bundles code and a job to run for local or remote execution.

MoeDict - Haskell Utilities working with MoeDict.tw JSON dataset

hxt-charproperties - Haskell XML Toolbox

inflections - Rails-like inflections for Haskell