Hello,
Trevor has already introduced a warning to use ~~~~ delimiting for .ly
code blocks. Now I noticed that Allura imposes some code highlighting by
default, and pygments (the tool used) doesn’t make a good guess on the
language. Unfortunately, it doesn’t support LilyPond (yet?).
I couldn’t figure out how to turn of highlighting, but I can recommend
using TeX until we have a better solution:
"
~~~~
:::TeX
% here comes the lily code
~~~~
"
Wilbert, excuse my straightforwardness. Allura uses a python tool,
Pygments, for code highlighting, and I thought it might be possible to
reuse code from python-ly to provide a LilyPond lexer for Pygments.
Perhaps you could take a look at the documentation on
<http://pygments.org/docs/> and see if that is possible?
Best regards,
Simon
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel