[Top][All Lists]

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

Re: `@lilycode` for highlighting LilyPond code snippets

From: Jean Abou Samra
Subject: Re: `@lilycode` for highlighting LilyPond code snippets
Date: Tue, 6 Dec 2022 12:11:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Le 06/12/2022 à 07:47, Werner LEMBERG a écrit :
Since the whole LilyPond code string is under the control of
`lilypond-book`, I thought of inserting `@/` automatically.  I would
also insert `@tie{}` after `^[^ ] ` and before ` [^ ]$` to avoid a
single character at the beginning or end of a line in the output.

I've also thought of recognizing `@var{...}` to indicate a meta
variable, for example

\score = "@var{id}" ...

(and the stuff within `@var` would be not interpreted by Pygments).

OK (and I'll be happy if we can have this for normal @code too, #6275). In this case, shouln't the MR be on Patch::needs_work for now?

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

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