markdown.sile icon indicating copy to clipboard operation
markdown.sile copied to clipboard

Better code syntax hightlighting

Open Omikhleia opened this issue 2 years ago • 2 comments

Currently we only support a "naive" syntax highlighting for Lua.

See https://github.com/sile-typesetter/sile/issues/1484 for a broader discussion.

Omikhleia avatar Nov 09 '22 10:11 Omikhleia

I hate shifting milestone back and forth, but work on the support package has not started.

Omikhleia avatar Mar 12 '23 02:03 Omikhleia

For the record: https://github.com/leafo/lua-syntaxhighlight/pull/2

= Neither commented nor merged 1+ year later --> This is likely not the way to go.

Omikhleia avatar May 08 '24 13:05 Omikhleia

I have spoken. This is the way.

https://github.com/Omikhleia/highlighter.sile

We'd need a small refactor of our code here to make it easier to use this module as dependency, but that's easy code...

Omikhleia avatar Feb 02 '25 14:02 Omikhleia