Diese Seite gehört zur Kategorie WikiWidget:
- JSPWiki Standard: Tab, Messagebox, Commentbox, Tree, Sortable, TableFilter, Zitat, Prettify
- cciServer Erweiterung: Spaltenansicht, Noborder, Nowikiwrap, Viewport, BenutzerdefiniertesCSS, Gallerybox, NoPrint
- JSPWiki Standard: Inhaltsverzeichnis, Weblog, Image, Referenzierende Seiten, Kalender, Letzte Änderungen, Index, Unreferenzierte Seiten, Undefinierte Seiten, InsertPage, Uhrzeit, Gruppen, SessionsPlugin, IfPlugin, NotePlugin
- cciServer Erweiterung:ImageGen, Math, Google Maps, Latex, GalleryPro, GalleryProDia, Query Plugin, Wiki Map, Excel, Table, ImageMapPlus, PageViewCount, InterWikiLinks, Glossar, AnhangIndex, Video, SimilarPages
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.