Campaign: Features

Syntax highlight plugin

Uses Syntax::Highlight::Engine::Kate. A list of available languages is at Make sure you have the right module installed and that you use the correct "lang" parameter. Here is an example for PHP/HTML:


<pre lang="PHP (HTML)">



/* This is a pseudo PHP file to test Kate's PHP syntax highlighting. */

// This is a comment

function test($varname) {

return "bla"; # this is also a comment








Plugin now works in both Textile and Markdown (thanks to LiNiO,

Submitted by



2 votes
Idea No. 12