[raku] Operator highlighting in word quote
habere-et-dispertire opened this issue · 5 comments
Syntax highlighting appears confused by the word quote construct < >
.
The following example illustrates the issue:
# x, xx, o, X, Z are not used here as operators
# but are highlighted as such inside the word
# quote construct < >
my @array = [ 'x', 'xx', 'xxx', 'o', 'oo', 'X', 'Y', 'Z' ];
my @array = < x xx xxx o oo X Y Z >;
It looks okay using GitHub's syntax highlighting -- see attached PDF:
Please let me know if I can be of help.
:-)
First step is to determine whether this is a bug in the KDE syntax definition or in pandoc's implementation of it. Easiest way to do that is to see if the issue can be reproduced in the Kate editor.
In that case you should report the bug upstream to KDE at https://invent.kde.org/~/issues . Once it is fixed upstream, we can merge the fixed version here.
Filed issue 460347 with Kate editor.
:-)
It looks okay using GitHub's syntax highlighting -- see attached PDF:
Not here. PDF with GitHub's syntax highlighting shows bold for words that are recognized as operators (e.g. x and xx; MacOS 13.4 Ventura PDF conversion).