|
From: | Craig Dabelstein |
Subject: | Re: Syntax highlighting |
Date: | Sun, 26 Jan 2020 05:31:35 +1000 |
Run make mapfiles
Run the lexer to convert the LilyPond file to html: python -m pygments -O full -f html -o /tmp/example.html tests/examplefiles/example.ily
Open the html
file: /tmp/example.html
> Am 2020-01-25 um 10:45 schrieb Urs Liska <address@hidden>:
>
> Am Samstag, den 25.01.2020, 17:48 +1000 schrieb Craig Dabelstein:
>> Hi everyone,
>>
>> I've written a LilyPond syntax highlighter for pygments. It's not perfect but it's mostly working. Is there anyone out there who could test it?
>>
>> https://github.com/craigdab/pygments/tree/LilyPond
>
> Thank you for working on it.
>
> How does one test it?
> First clone the repository and install pygments from there (its `setup.py`) I suppose. The README suggests using `pip`, which surely wouldn't work, isn't it?
>
> I have installed Pygments through pip3, is there a way to avoid a conflict, e.g. by *not* installing your pygments clone but directly invoke the proper executable?
It would make sense to create a virtualenv, activate it and install Craig’s pygments there via setup.py
Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
https://www.fiee.net
| |||||||||||||||
[Prev in Thread] | Current Thread | [Next in Thread] |