The Code2Html Plugin This plugin using the jEdit(jedit.org)'s syntax engine to parse source code and rederered it to HTML output, it supports up to 130 different syntaxts as much as the jEdit supports. Install: unzip CodePluginBin.zip to your jspwiki web app install dir and then restart the web app server or reload the app. Wanna change output color format? Just edit the css file css/syntax.css and u'll got it. Usage: [{Code lang='language name' --- The source code body here, might have multi lines. --- }] Parameters: * lang(optional):language name, default value is java, remember don't use values that not exists in this list: java jsp actionscript ada95 antlr apacheconf apdl applescript asp aspect-j assembly-m68k assembly-macro32 assembly-r2000 assembly-parrot assembly-x86 awk b batch bbj bcel beanshell bibtex c chill cil cobol coldfusion c++ c# css cvs-commit d doxygen dsssl embperl erlang eiffel factor forth fortran foxpro freemarker gettext groovy haskell hex html i4gl icon idl inform inno-setup ini interlis io javascript jcl jhtml jmk latex lilypond lisp literate-haskell lotos lua mail makefile maple ml modula3 moin mqsc netrexx nqc nsis2 objective-c objectrexx occam omnimark pascal patch perl php pike pl-sql pl1 pop11 postscript powerdynamo povray prolog progress properties psp ptl pvwave pyrex python rebol redcode relax-ng-compact renderman-rib rd rest rhtml rpm-spec rtf ruby rview s+ s# sas scheme sgml shellscript shtml slate smalltalk sdl/pr smi-mib sqr squidconf svn-commit swig tcl texinfo tex text tpl transact-sql twiki uscript vbscript velocity verilog vhdl xml xsl zpt The source code is putting in the body of that Tag(jeditPlugin supports a special parameter called '_body'), the first line must be an empty line. Eg: [{Code lang=javascript /** A JavaScript function */ function test() { var a = "abc"; } }] Its result will be: