Guide to Doxia Macros
The Doxia Core module includes the Echo and Snippet macros, and you can create your own.
Macros are Plexus components with a role of org.apache.macro.doxia.macro.Macro.
The role-hint is the macro name.
is called with
and will output
(The echo macro simply prints out the key and value of any parameters that you supply.)
Note that macros must not be indented in your apt source document.
In the execute method, TODO
The following plugin config can be used to generate the Plexus component.xml file for the module containing your macro: