skylighting icon indicating copy to clipboard operation
skylighting copied to clipboard

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions

Results 27 skylighting issues
Sort by recently updated
recently updated
newest added

@jgm I would like to get Syntax Highlighting for Typst code in Pandoc and possibly the Kate text editor. Are the currently available XML files in skylighting-core generated automatically or...

As observed in, https://github.com/jgm/pandoc/pull/9565#issuecomment-2016610872, skylighting-format-ansi as-is produces somewhat bad results when rendering with a background color different from the terminal default, which is quite visible in the context of the...

Lots of Python tooling uses doctests and interactive snippets to show code. i.e: ```pycon >>> def add(x, y): ... return x + y >>> add(2, 3) 5 ``` The benefit...

In Stata's built-in code editor, all text contained in a comment is highlighted as a comment. For example: ![image](https://github.com/jgm/skylighting/assets/47256431/1d28a398-f183-49ea-a15b-030b385bb3df) In Pandoc outputs, plain text in comments that also happens to...

The function `tokenize` outputs an array of `SourceLine`s. Is it guaranteed that if i provide it with `Text` with some multiline code, every line's tokens will be mapped to one...

I am using skylighting 0.12.3.1. I have the following example file: ```scheme (define-syntax grammar (syntax-rules (→) ((_ (left1 → right11 right12 ...) (left2 → right21 right22 ...) ...) (vector (production...

We already have a haddock theme, but I think the one used on hackage is a huge improvement. For example: https://hackage.haskell.org/package/skylighting-core-0.14/docs/src/Skylighting.Core.html

I believe the KDE xml file was just added for the [Hare language](https://harelang.org/). https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/514 https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/hare.xml https://kate-editor.org/syntax/data/syntax/hare.xml Can this be added to skylighting so that syntax highlighting for Hare will work...

https://github.com/jgm/pandoc/issues/6488#issue-647199358 https://github.com/jgm/pandoc/issues/6488#issuecomment-1648217051 The Perl6 project was initiated in year 2000, the Rakudo compiler was released in 2015, and the language was renamed Raku in 2019. Raku features built-in: 1. Unicode...

Syntax highlighting appears confused by the [word quote](https://docs.raku.org/language/quoting#index-entry-%3C_%3E_word_quote) construct `< >`. The following example illustrates the issue: ~~~raku # x, xx, o, X, Z are not used here as operators...