This reminds me I did some hacking on an (old) Markdown syntax definition found on GitHub to at least give some support to Pandoc extensions, e.g. attributes are highlighted with the item they belong to, spans are highlighted as dsOthers. It could certainly be made more sophisticated but I haven't found out how you specify that an item must follow another item.
Should I add it to the GitHub wiki?
Does your xml file define a context called Parameters? This looks like a problem with your syntax definition
Hi,
yesterday I upgraded from release 2.11.3.2 to 3.1.2 and ran into some
incompatibilities. I could fix those related to lua scripts, but I am stuck
with my syntax definition. (Both releases are the binary distributions from
the pandoc website.)
I have my own KDE-style XML syntax definition file named asshell.xml. In my
global.yaml file it is specifies as
syntax-definition: ../../../asshell.xml
This relative path is correct. OS is opensuse. I use this syntax definition as
~~~~~~{.asshell}
blabla
~~~~~~
The file asshell.xml starts with
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="asshell" version="1" kateversion="2.3" section="Sources"
extensions="*.asshell" priority="5" author="KW" license="GPL">
This worked perfectly with releases up to and including 2.11.3.2, but with
3.1.2 I get the error message
[WARNING] Could not highlight code block:
Unknown syntax or context: ("asshell","Parameters")
Could you please give me some help?
Thanks in advance!
Kind regards
Karl