lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond syntax for markdown pigments codehilite


From: Urs Liska
Subject: Re: lilypond syntax for markdown pigments codehilite
Date: Wed, 01 Jun 2016 19:57:51 +0200
User-agent: K-9 Mail for Android


Am 1. Juni 2016 19:28:40 MESZ, schrieb tisimst <address@hidden>:
>On Wed, Jun 1, 2016 at 11:21 AM, Noeck [via Lilypond] <
>address@hidden> wrote:
>
>> Hi,
>>
>> does anybody have a lilypond style for pigments codehilite?
>>
>> What I am able to do with python markdown is this:
>>
>> ```python
>> if i == 0:
>>     print(i)
>> ```
>> and I get an html file with classes to style the code block.
>>
>> What I want to do is the same with lilypond code:
>> ```lilypond
>> \relative { a'4 c }
>> ```
>>
>> I assume I could add some kind of config file with the lilypond
>keywords
>> and other syntactic elements to the markdown codehilite extension
>> settings.
>>
>> Has anybody done that before?
>> Does Frescobaldi do something similar to highlight the code?
>> Or lilypondblog?
>>
>
>On lilypondblog and my blog, we both use a CSS file that defines the
>classes and then use Frescobaldi to export the input file as properly
>classified html.

This can also be done on the command line using the python-ly package.

I have also written a Node module wrapper for that. 
And a plugin for Gitbook.

If any of these sounds interesting I can give you more details.

Best
Urs

>
>HTH,
>Abraham
>
>
>
>
>--
>View this message in context:
>http://lilypond.1069038.n5.nabble.com/lilypond-syntax-for-markdown-pigments-codehilite-tp191304p191305.html
>Sent from the User mailing list archive at Nabble.com.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>lilypond-user mailing list
>address@hidden
>https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]