This extension provides editing and syntax highlighting support for KDL, an XML-like document language, to the Kate text editor and the KDE/KatePart Syntax Highlighting Engine.
See docs/example.kdl
.
-
Identify the directory in which custom syntax highlighting files are located. See the corresponding section of Chapter 6 of The KatePart Handbook. On Linux this is usually
$HOME/.local/share/org.kde.syntax-highlighting/syntax/
. -
Download
kdl.xml
and copy it into the aformentioned directory. -
Restart Kate. Alternatively, press F7, type
reload-highlighting
, and press enter.
- Property keys are highlighted as string values if the equals sign appears on a different line, or if the equals sign is preceded by a nested
/**/
comment. - Mandatory whitespace between values is not checked.
- Whitespace requirements of multiline strings are not checked.