Could not find any match !


Freemarker equivalent: macro

fmx:macro only exists as a dedicated xml element.It allows to define macros using an XML syntax.


Note that attribute values aren’t honored in this case (for now as it might change in the future).

Dedicated xml element

<fmx:macro fmx:name="todo" a="" b="'c'">
    <fmx:nested />

[#macro todo a b]
    [#nested ]