Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using confluence macro code inside user macro

Pradeep Panayal January 23, 2018

I know that we can use Macro inside another macro by using <ac:structured-macro> tag.

Is it possible to use confluence mark up code in User Macro?

 

 

1 answer

1 accepted

3 votes
Answer accepted
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2018

You can either put it inside an unmigrated-wiki-markup macro:

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1">
<ac:plain-text-body><![CDATA[<wiki_markup_here>]]></ac:plain-text-body>
</ac:structured-macro>

Or like this:

$action.helper.renderConfluenceMacro("<wiki_markup_here>")

Just replace <wiki_markup_here> with the wiki markup code.

Pradeep Panayal January 29, 2018

Thank you @Stephen Deutsch.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events