Mit dem Style "prettify" kann das Nowiki Markup mit Syntaxhighlighting versehen werden. Im cciServer kann Anstatt "prettify" kann auch der Ausdruck "code" verwendet werden.

Beispiel#

(TODO: Beispiel wird nicht korrekt angezeigt, weil dieses Wiki noch nicht die aktuellste cciServer Distro verwendet.)

function helloWorld() {
    alert("Hello World!");
}

Code#

%%prettify
{{{
function helloWorld() {
    alert("Hello World!");
}
}}}
%%

Anmerkungen#

Diese Funktion ersetzt das JSPWiki Contributed ColorCodePlugin. Es ist vergleichbar mit Mediwikis <code>xxx</code> Wiki Markup

Original Doku: JSPWiki Prettify Dokumentation

Add new attachment

Only authorized users are allowed to upload new attachments.

« This page (revision-4) was last changed on 06-Jul-2012 13:59 by ChristophSauer