Code Wiki Plugin | |
|
Code can be used to display lines of preformatted code in wiki pages. | |
Using CODE tag | |
Without parameters | |
|
{CODE()} {CODE} Copy to clipboard | |
Line numbering : ln | |
|
{CODE(ln=>1)}some code
line numbered
{CODE} Copy to clipboard
| |
(1.8) Syntax coloring : colors | |
|
Only php color is available for now. more are expected. {CODE(colors=>php)}{CODE} Copy to clipboard | |
(1.9) caption insert : caption | |
|
{CODE(caption=>Caption)}some text{CODE} Copy to clipboard
| |
Source | |
|
You can edit the plugin if you need to change the look and feel of the output. There is only one file to deal with.
| |