General Actions:
| Question | How are macros used? I tried to use the #warning("Hello World") macro but all I got was the output "#warning("Hello World")". |
| Answer |
There are two kinds of macros, velocity macros and syntax macros, and there are two main document syntaxes available, xwiki/1.0 and xwiki/2.0.
{{velocity}}
#warning("Something is wrong")
{{/velocity}}{{warning}}Something is wrong{{/warning}} |