There are two kinds of macros in XWiki Syntax 1.0:
- Velocity macros (called using the #macroname(param1 ... paramN) syntax)
- Radeox macros (called using the {macroname:param1=value1|...|paramN=valueN} syntax)
Feature | XWiki Syntax 1.0 |
---|
Velocity Macro | |
Radeox Macro | {code:java}
java content
{code}
|
It is possible to enter HTML markup directly in the text in XWiki Syntax 1.0.
XWiki Syntax 1.0 | Result |
---|
<b>bold</b> | bold |
In XWiki Syntax 1.0 it was possible to enter Velocity scripts anywhere directly in the page. This can lead to issues for example when the user was involuntarily entering Velocity content. It is also performance hungry for pages not requiring Velocity content. There are several other technical limitations. Same goes for entering Groovy scripts.
Feature | XWiki Syntax 1.0 |
---|
Velocity script | |
Groovy script |
<%
def var = "whatever"
%>
|