How to use Wiki Markup in Confluence RTE using User Macro

Still need help?

The Atlassian Community is here for you.

Ask the community

Atlassian Support does not provide assistance for configuring this as this is a customization therefore fell outside of Support Scope. Consequently, Atlassian can not guarantee providing any support for them.

If assistance with configuration is required, please raise a question on Atlassian Answers.

 

Many users have some complicated wiki markup which needs to be converted back to wiki markup, instead of using Insert Wiki Markup that will only convert for one time. Using wiki markup like in Confluence 3.5 can be possible using User Macro.

  1. Create User Macro with Unredered body type
  2. Put the following as the User Macro content

    ## @noparams
    <ac:macro ac:name="unmigrated-inline-wiki-markup">
        <ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter>
        <ac:plain-text-body><![CDATA[$body]]></ac:plain-text-body>
    </ac:macro>
  3. Save the user macro and use it in Confluence Rich text Editor

 

Last modified on Oct 7, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.