Hi LilyPonders, To help with the documentation of future LilyPond projects I have tried to write a syntax highlighter to be used by Pygments (which can then be used by many other programs for presenting code examples).
I'm inexperienced at this sort of thing so I would really appreciate any advice or suggestions you could give me on any part of the project: what works or doesn't work, the regex examples, even the git commit messages and the readme.md -- literally anything at all. You can find the repo here: https://github.com/craigdab/pygments-lilypond-test It is very easy to test (see the README.md doc): [1] clone Pygments [2] add my two python files to pygment's lexer folder [3] add a LilyPond file to the tests/examplefiles folder [4] run: python -m pygments -O full -f html -o /tmp/example.html tests/examplefiles/example.ily All the best, Craig -- Craig Dabelstein Owner Maxime's Music M: 0404884173 A: 19 Twelfth Ave, Kedron QLD 4031, Australia W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E: cr...@concertbandmusicstore.com <cr...@concertbandmusicstore.com> <https://www.facebook.com/maximesmusic.com.au> <https://www.linkedin.com/in/maximes-music> <https://www.designhill.com/email-signature-generator>