Creating and highlighting code blocks

%%(wacko)The text as it is. ((/HomePage))%%
This format displays the text in the same way as if it was written without a formatter. Convenient for applying additional wrappers to text (alignment, boxes, etc. See below.)
The text as it is. /HomePage
%%(php) PHP-code%%


<?php
phpinfo
();
$s "Hello, World!\n";
print 
"$s";
?>

Attention: that code should begin with <?php ?>, because builtin PHP parser identifies PHP by those separators.
%%(comment) Comments, they will be hidden when the page is stored and redisplayed %%

%%(noautolinks) no AutoLinks if CamelCase-Words%%
no AutoLinks if CamelCase-Words

%%(cl)zypper dup --no-recommends%%
zypper dup --no-recommends


%%(email) Email%%
Hi!
RI>> Yes, it is.
>Are you sure?

Of course, yes!

Roman.

%%(sql) SQL-code%%
SELECT * FROM sometable 
WHERE a = '12' and b = 2 
ORDER BY c DESC

There's also (ini), (html), (css), (java) and (pascal) highlighters.
%%(html) HTML-Code%%
<html>
<a href="http://www.ya.ru">test</a>
</html>

%%(ini) ini-Code%%
[Wiki]
BestEngine="WackoWiki"
Version=4

%%(css) CSS-Code%%
body {margin: 0; padding:5px;}
.class {background:url("http://www.ya.ru/")} 

%%(pascal) PASCAL-Code%%
program megaprogramme;
{ comment }
BEGIN
 if a = 15 then writeln('test');
END.

There's also highlighters for ABAP, CPP, CSS, DIFF, DTD, HTML, JAVA, JAVASCRIPT, PERL, PHP, RUBY, PYTHON, SH, SQL, VBSCRIPT, XML.
They can be called as (hl css) etc.

%%(hl css) CSS-Code%%
body {margin: 0; padding:5px;}
.class {background:url("http://www.ya.ru/")}


%%(hl javascript) Javascript-Code%%
var a = document.getElementById("test");
a.value = new Array(15, 31);
function echo (msg) {alert(msg)};


%%(hl php numbers=2) PHP-Code%%
1
2
3
4
5
<?php
phpinfo();
$s = "Hello, World!\n";
print "$s";
?>


%%(hl xml) xml-Code%%
<config>
<section name="test">
  <var>Test</var>
  <val><![CDATA[..text...]]></val>
</section>
</config>