Confluence 2.9 : Hello World Example of User Macro
This page last changed on Dec 11, 2007 by smaddox.
There are two ways to write a macro:
Example of a User MacroHere's how you can create a user macro which displays the text 'Hello World : ' in front of any variable text you place between the macro tags.
So, now you can add the following Wiki Markup on your Confluence page: {helloworld}Matthew{helloworld} And the result will be as follows: More InformationThe macro itself is written in the Velocity Templating Language. You can find more information in the Velocity User Guide from Apache. RELATED TOPICS |
![]() |
Document generated by Confluence on Aug 07, 2008 19:08 |