I created a user macro to use the show-if command but it doesnt recongise it as macro and renders it as plan text.
however the velocity i am using it working fine but i want to use a show-if statement so the info is only displayed when the page is exported.
Here is the content of my user macro
## Macro name: pdf-revision
## @noparams
{show-if:display=printable}
#set($user = $userAccessor.getUser($content.lastModifierName))
#set($dateFormatter = $action.getDateFormatter())
Revision: $content.version by $user.fullName on $dateFormatter.format($content.lastModificationDate)
{show-if}
when thie macro is displayed in a page it renders like the following
{show-if:display=printable} Revision: 25 by Brian Mitchell on Dec 06, 2012 {show-if}
I dont understand though as if i edit the page and use the show-if statment it works with no issues, is this a problem as im using a macro within a macro?