I want to create a user macro that includes the rendered output of a different macro. For instance:
## Macro title: Version Issues
## Macro has a body: N
## This is an example macro
## @Param Version:title=Version|type=string|required=true
<div>
$helper.renderConfluenceMacro("{cheese]")
</div>
However, this just prints out "$helper.renderConfluenceMacro("{cheese]")". How do I get it to actually render the cheese (or another) macro?
Hi @William Yeack,
the easiest way is using the Confluence Source Editor and then do something like this:
## Macro title: My Cheese
## Macro has a body: N
## @noparams
My Cheese:
<ac:structured-macro ac:name="cheese" ac:schema-version="1"/>
End of My Cheese, do something else
If you don't know the Confluence Source Editor, have a look at the marketplace. In my opinion, it's a must-have app (and it's free).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.