Syntax highlighting for PHP (and presumably other languages) does not appear to work at first glance. Upon further inspection, its clear that syntax hiliting within the CODE plugin expects a HTML file, rather than an inline code example. I propose a reversal of behavior to expecting an inline example.
Using this code:
{CODE(colors="php")} // this is a comment basename($alpha); {CODE}
This is output:
// this is a comment basename($alpha);
On the other hand using this code:
Using this code:
{CODE(colors="php")} <?php // this is a comment basename($alpha); {CODE}
The highlighting is now enabled, but its not really the right code example any more:
Using this code:
<?php // this is a comment basename($alpha);
Further reading:
https://groups.google.com/forum/#!topic/codemirror/j7CsgZgM01c
http://codemirror.net/mode/php/index.html
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |