lyluatex
lyluatex copied to clipboard
Better syntax highlighting
We wanted to look into how Pandoc produces syntax highlighting because this provides pretty nice highlighting for LilyPond code.
An alternative to look into would be to use Python and python-ly.
=> Check if python-ly can be talked into producing either LaTeX output or (better) Pygment items. See https://github.com/wbsoft/python-ly/issues/116
As of Pandoc, it's a Haskell library, so IMHO not the way to go.
Sure, but I can't imagine Pandoc does the highlighting all by itself, it surely uses "something", and maybe that is somehow accessible.
That's what I mean: Pandoc uses a Haskell library for highlighting. That's accessible, but I don't think we should add a Haskell dependency to lyluatex.
OK, I see.
Actually this isn't a lyluatex issue as we do provide proper support for anyone else to do highlighting. But to show people we know about the issue and have the wish for a better solution I keep the issue open, just labeled as wontfix.