Affects Version/s: 1.5
Fix Version/s: None
Currently migrating a web project from Oracle's proprietary UIX to Velocity, I found the limitation that macros are always line directives and cannot ave content somewhat limiting.
I would suggest the following improvement or addition to the macro functionality.
You should be able to define a blockMacro - maybe with a syntax like this:
#blockmacro(section $title $open)
Where #body would render the body of the macro call. The macro call could look like this:
#section("My Collapsible Section", true)
This allows the macro to render the content only under a certain condition, or it would allow the macro to render the content multiple times. I think this would a lot of flexibilty to macros - it might be an enhancement worth considering for the Summer of Code Google project.