Am 1. Juni 2016 19:28:40 MESZ, schrieb tisimst <tisimst.lilyp...@gmail.com>:
>On Wed, Jun 1, 2016 at 11:21 AM, Noeck [via Lilypond] <
>ml-node+s1069038n191304...@n5.nabble.com> 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
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to