How to use Wiki Markup in Confluence RTE using User Macro

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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

    1 2 3 4 5 ## @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

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.