|
From: | Craig Dabelstein |
Subject: | Re: Syntax highlighting |
Date: | Thu, 16 Jan 2020 20:06:34 +1000 |
Federico,Is it just me or is the documentation for Pygments really hard to understand? I can't even find anywhere they discuss the setup.py file.I've opened a repo (https://github.com/craigdab/pygments-lilypond-test) and cut and paste from other peoples repositories as a start, but I really have no idea what I'm doing.CraigOn Wed, 15 Jan 2020 at 10:38, Craig Dabelstein <address@hidden> wrote:Thank you gentlemen,I'll have a go at taking the python-ly work and seeing if I can use it work to make syntax highlighting with pygments. It's highly possible that I will totally fail, but I'll give it a try.CraigOn Tue, 14 Jan 2020 at 23:38, Federico Bruni <address@hidden> wrote:Il giorno mar 14 gen 2020 alle 12:34, Urs Liska <address@hidden>
ha scritto:
> Pygments is also what Pandoc uses for its syntax highlighting, so that
> would also make sense for that (e.g. generating PDF documentation from
> Markdown).
Are you sure?
I think that pygments is the name of the default style in Pandoc, but
the highlight library is a Haskell library called skylighting:
https://pandoc.org/MANUAL.html#syntax-highlighting
https://github.com/jgm/skylighting
It seems Wilbert contributed the definitions for lilypond syntax:
https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/lilypond.xml
About 10 days ago I wanted to share this in the open issue in
Frescobaldi tracker but I forgot to do it.
I remember I found the lilypond file definition somewhere else...
--
Craig Dabelstein Owner Maxime's Music M: 0404884173 A: 19 Twelfth Ave, Kedron QLD 4031, Australia W: concertbandmusicstore.comE: address@hidden --
Craig Dabelstein Owner Maxime's Music M: 0404884173 A: 19 Twelfth Ave, Kedron QLD 4031, Australia W: concertbandmusicstore.comE: address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |