This page is outdated. Please see new page. |
Allows you to display code in your document with the appropriate syntax highlighting. |
Parameter |
Required |
Default |
Description |
|---|---|---|---|
language |
no |
Java |
Specify the programming language. Currently supported: Java, XML and SQL. |
Example 1: Java
{code}
public String getFoo()
{
return foo;
}
{code}
gives:
public String getFoo()
{
return foo;
}
|
Example 2: XML
{code:XML}
<test>
<another tag="attribute"/>
</test>
{code}
gives:
<test>
<another tag="attribute"/>
</test>
|