Syntax highlighting
Hello,
I'm trying to get syntax highlighting to run, but it doesn't work as expected.
Control Panels / Advanced / Editing and Plugins / General settings / Features / Code Editor (CodeMirror): on
Control Panels / Advanced / Editing and Plugins / General settings / Features / Theme for syntax highlighting: default
Then I tried to edit a wiki page like described here: https://doc.tiki.org/PluginCode#Codemirror_-_Supported_Languages
{CODE(colors="php")} <?php $menu = $menubar->getHomeMenu(); if($menu->link != "") { print "\t<td width=\"7%\" valign=\"top\">\n"; $menu->printMenu(); print "\t</td>\n"; } {CODE}
The code is formatted, but only like shown in the attached image.
It doesn't matter which color or theme I set, the result is the same.
The code editor itself is set to Wiki (and not WYSIWYG).
We use TikiWiki 19.
It seems that upload of attachments doesn't work here, so I uploaded the image on imgur: https://imgur.com/1sfsiDG
Kind regards
Florian