- the EIS1600 scheme does not use "background colors", since they get in the way of using color themes (dark ones are completely unusable);
- selection colors are fixed (add
selColor="#XXXXXX"
aftercolor="#XXXXXX"
);
- Download the zip file https://github.com/OpenITI/mARkdown_highlighting_Kate/archive/refs/heads/main.zip
- Unzip the zip file
- Open the unzipped folder in Finder, press down the Control key and click on
install_on_mac.sh
. Choose "Open" from the dialog. You'll see a popup asking whether you are sure you want to execute this program from an unidentified developer. ClickOpen
. This will install the OpenITImARkdown.xml file in the folder$HOME/Library/Application Support/org.kde.syntax-highlighting/syntax
- Close Kate and (re-)open it. The OpenITImARkdown highlighting scheme should now be visible in Kate's menu: Tools > Highlighting > Markup
- You can test whether it worked by opening the tags_test.mARkdown file in Kate; you should see the highlighting schema in action.
- Download the zip file https://github.com/OpenITI/mARkdown_highlighting_Kate/archive/refs/heads/main.zip
- Unzip the zip file
- Open the unzipped folder in Explorer, and double-click
install_on_windows.bat
. This will install the OpenITImARkdown.xml file in the folder%LocalAppData%/org.kde.syntax-highlighting/syntax
- Close Kate and (re-)open it. The OpenITImARkdown highlighting scheme should now be visible in Kate's menu: Tools > Highlighting > Markup
- You can test whether it worked by opening the tags_test.mARkdown file in Kate; you should see the highlighting schema in action.
- Download the zip file https://github.com/OpenITI/mARkdown_highlighting_Kate/archive/refs/heads/main.zip
- Unzip the zip file
- Open the unzipped folder in your file manager, and double-click
install_on_linux.sh
. This will install the OpenITImARkdown.xml file in the folder$HOME/.local/share/org.kde.syntax-highlighting/syntax/
- Close Kate and (re-)open it. The OpenITImARkdown highlighting scheme should now be visible in Kate's menu: Tools > Highlighting > Markup
- You can test whether it worked by opening the tags_test.mARkdown file in Kate; you should see the highlighting schema in action.
- Highlighting Scheme Syntax: https://docs.kde.org/stable5/en/kate/katepart/highlight.html
Issues with highighting scheme in Kate:
- there is an issue with the display of Arabic paragraphs when they are selected: the wrong part is highlighted (this issue goes away if you change "direction" of the paragraph by adding a Latin letter in the beginning > highlighting then is correct.)
-
still not quite figured: I ould not figure how to add another "section" highlight, similar to YML in OpenITI mARkdown; it seems like you can only have one of them, without alternatives.
-
If the syntax is not recognised after an update, validate your schema following the instructions at the bottom of this page from the official documentation. You will need to pass each file to the validator, e.g.:
$ bash validatehl.sh SCHEME_FILES/OpenITImARkdown_EIS1600.xml