Skylighting does show the problem:
skylighting -s prolog kate.prolog
generates the red highlight. When generating latex, it generates the \ErrorTok cmd.
I suppose I should report a bug there?
New to Kate, but AFAICT no problem there (saved code in .prolog file, atom highlighted in green, not bold red). Looking into skylightingOn Thursday, October 13, 2022 at 1:37:29 PM UTC-7 fiddlosopher wrote:I don't know, but pandoc's highlighting is based on KDE syntax definitions.
So first step is to see if you get a similar result in the Kate editor.
If you do, the problem is with the prolog.xml definition we build on, and it
should be reported upstream. If not, the problem may lie in pandoc's
(really skylighting's) implementation of the KDE syntax definitions.
See jgm/skylighting - the README.md there has more information.
> On Oct 13, 2022, at 1:03 PM, Antonio Piccolboni <picc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hi