Going Stellar

Home/Confluence storage format reference

Confluence Cloud · checked on 29 Nov 2026

What's lost converting Confluence storage format to ADF

Confluence Cloud edits pages as ADF. Storage format sent through the REST API is converted to ADF when the page is opened in the editor or read as body.atlas_doc_format, and converted back to storage format when that ADF is saved. Pages saved only through the API keep their storage markup until that happens.

Each row below is one storage format example: what was saved on 29 Nov 2026, and the storage format that came back after the page's ADF was saved again and read as body.storage. Attributes that Confluence adds to every macro (schema version, macro id), paragraph wrappers and the order of macro parameters are left out of the comparison. Some rows are harmless rewrites. Others lose information for good: a panel border, a code title, a link anchor, an image height, a legal symbol.

Text and HTML

Tags that ADF has no node for keep only their text: h7, div, font, small, big, a font-size span, a line-through span, an HTML comment and script. b, i, s and strike come back as strong, em and del, colours come back as rgb() values, pre becomes inline code and formatting inside code is dropped.

  • <h1> to <h6> headings

    Sent (storage format)

    <h7>Heading 7</h7>

    Back after the round trip through ADF

    <p>Heading 7</p>

    Sent to Confluence Cloud on .

  • <strong>, <em>, <b> and <i>

    Sent (storage format)

    <p><b>b tag</b> <i>i tag</i> <s>s tag</s> <del>del tag</del> <strike>strike tag</strike></p>

    Back after the round trip through ADF

    <p><strong>b tag</strong> <em>i tag</em> <del>s tag</del> <del>del tag</del> <del>strike tag</del></p>

    Sent to Confluence Cloud on .

  • <strong>, <em>, <b> and <i>

    Sent (storage format)

    <p><strong><em>bold italic</em></strong></p>

    Back after the round trip through ADF

    <p><em><strong>bold italic</strong></em></p>

    Sent to Confluence Cloud on .

  • Strikethrough

    Sent (storage format)

    <p><span style="text-decoration: line-through;">strikethrough</span></p>

    Back after the round trip through ADF

    <p>strikethrough</p>

    Sent to Confluence Cloud on .

  • <code> inline code

    Sent (storage format)

    <p><code><strong>bold code</strong></code></p>

    Back after the round trip through ADF

    <p><code>bold code</code></p>

    Sent to Confluence Cloud on .

  • <pre> preformatted text

    Sent (storage format)

    <pre>preformatted text</pre>

    Back after the round trip through ADF

    <p><code>preformatted text</code></p>

    Sent to Confluence Cloud on .

  • <pre> preformatted text

    Sent (storage format)

    <ac:structured-macro ac:name="noformat"><ac:plain-text-body><![CDATA[preformatted *no* formatting]]></ac:plain-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="<id>"><ac:plain-text-body><![CDATA[preformatted *no* formatting]]></ac:plain-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • <pre> preformatted text

    Sent (storage format)

    <ac:structured-macro ac:name="noformat"><ac:parameter ac:name="nopanel">true</ac:parameter><ac:plain-text-body><![CDATA[no panel]]></ac:plain-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="<id>"><ac:plain-text-body><![CDATA[no panel]]></ac:plain-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • <blockquote>

    Sent (storage format)

    <div><p>in a div</p></div>

    Back after the round trip through ADF

    <p>in a div</p>

    Sent to Confluence Cloud on .

  • Text color

    Sent (storage format)

    <p><span style="color: #ff5630;">hex</span> <span style="color: red;">name</span></p>

    Back after the round trip through ADF

    <p><span style="color: rgb(255,86,48);">hex</span> <span style="color: rgb(255,0,0);">name</span></p>

    Sent to Confluence Cloud on .

  • Text color

    Sent (storage format)

    <p><font color="red">font tag</font></p>

    Back after the round trip through ADF

    <p>font tag</p>

    Sent to Confluence Cloud on .

  • <small>, <big> and font size

    Sent (storage format)

    <p><small>small text</small></p>

    Back after the round trip through ADF

    <p>small text</p>

    Sent to Confluence Cloud on .

  • <small>, <big> and font size

    Sent (storage format)

    <p><big>big text</big></p>

    Back after the round trip through ADF

    <p>big text</p>

    Sent to Confluence Cloud on .

  • <small>, <big> and font size

    Sent (storage format)

    <p><span style="font-size: 20px;">font size</span></p>

    Back after the round trip through ADF

    <p>font size</p>

    Sent to Confluence Cloud on .

  • HTML that storage format drops

    Sent (storage format)

    <p>a<!-- comment -->b</p>

    Back after the round trip through ADF

    <p>ab</p>

    Sent to Confluence Cloud on .

  • HTML that storage format drops

    Sent (storage format)

    <p><script>alert(1)</script>after script</p>

    Back after the round trip through ADF

    <p>after script</p>

    Sent to Confluence Cloud on .

  • HTML that storage format drops

    Sent (storage format)

    <ac:structured-macro ac:name="html"><ac:plain-text-body><![CDATA[<b>raw html</b>]]></ac:plain-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="html" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="_parentId"><page id></ac:parameter><ac:plain-text-body><![CDATA[<b>raw html</b>]]></ac:plain-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • HTML that storage format drops

    Sent (storage format)

    <ac:structured-macro ac:name="style"><ac:rich-text-body><p>style body</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="style" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="_parentId"><page id></ac:parameter></ac:structured-macro>

    Sent to Confluence Cloud on .

Symbol and colour macros

The copyright, reg-tm, sm and tm macros come back as an empty paragraph, so the symbol is gone. bgcolor comes back as a panel with the background #C0FFC0, although the example asked for yellow.

  • <sup> and <sub>

    Sent (storage format)

    <ac:structured-macro ac:name="sm"></ac:structured-macro>

    Back after the round trip through ADF

    <p />

    Sent to Confluence Cloud on .

  • Entities and special characters

    Sent (storage format)

    <ac:structured-macro ac:name="copyright"></ac:structured-macro>

    Back after the round trip through ADF

    <p />

    Sent to Confluence Cloud on .

  • Text highlight

    Sent (storage format)

    <ac:structured-macro ac:name="bgcolor"><ac:parameter ac:name="colour">yellow</ac:parameter><ac:rich-text-body><p>bgcolor body</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:parameter ac:name="bgColor">#C0FFC0</ac:parameter><ac:rich-text-body><p>bgcolor body</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • Macros removed from the Cloud editor

    Sent (storage format)

    <ac:structured-macro ac:name="reg-tm"></ac:structured-macro>

    Back after the round trip through ADF

    <p />

    Sent to Confluence Cloud on .

Lists and tasks

A numbered list gains start="1", a list-style-type is dropped, and each task gains a task id, a task uuid and a placeholder span around its text.

  • <ul> and <ol> lists

    Sent (storage format)

    <ol><li>numbered list item</li></ol>

    Back after the round trip through ADF

    <ol start="1"><li><p>numbered list item</p></li></ol>

    Sent to Confluence Cloud on .

  • <ul> and <ol> lists

    Sent (storage format)

    <ul style="list-style-type: square;"><li>square</li></ul>

    Back after the round trip through ADF

    <ul><li><p>square</p></li></ul>

    Sent to Confluence Cloud on .

  • Nested and mixed lists

    Sent (storage format)

    <ol><li>one<ul><li>bullet under number</li></ul></li></ol>

    Back after the round trip through ADF

    <ol start="1"><li><p>one</p><ul><li><p>bullet under number</p></li></ul></li></ol>

    Sent to Confluence Cloud on .

  • <ac:task-list> task lists

    Sent (storage format)

    <ac:task-list><ac:task><ac:task-status>incomplete</ac:task-status><ac:task-body>task list item</ac:task-body></ac:task></ac:task-list>

    Back after the round trip through ADF

    <ac:task-list>
    <ac:task>
    <ac:task-id>1</ac:task-id>
    <ac:task-uuid><id></ac:task-uuid>
    <ac:task-status>incomplete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">task list item</span></ac:task-body>
    </ac:task>
    </ac:task-list>

    Sent to Confluence Cloud on .

  • <ac:task-list> task lists

    Sent (storage format)

    <ac:task-list><ac:task><ac:task-status>complete</ac:task-status><ac:task-body>done item</ac:task-body></ac:task></ac:task-list>

    Back after the round trip through ADF

    <ac:task-list>
    <ac:task>
    <ac:task-id>2</ac:task-id>
    <ac:task-uuid><id></ac:task-uuid>
    <ac:task-status>complete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">done item</span></ac:task-body>
    </ac:task>
    </ac:task-list>

    Sent to Confluence Cloud on .

  • <ac:task-list> task lists

    Sent (storage format)

    <ac:task-list><ac:task><ac:task-status>incomplete</ac:task-status><ac:task-body>Call back <time datetime="2026-12-15" /></ac:task-body></ac:task></ac:task-list>

    Back after the round trip through ADF

    <ac:task-list>
    <ac:task>
    <ac:task-id>3</ac:task-id>
    <ac:task-uuid><id></ac:task-uuid>
    <ac:task-status>incomplete</ac:task-status>
    <ac:task-body><span class="placeholder-inline-tasks">Call back <time datetime="2026-12-15" /></span></ac:task-body>
    </ac:task>
    </ac:task-list>

    Sent to Confluence Cloud on .

Links and mentions

A link to a page that does not exist becomes a plain create-page URL, an attachment link becomes a view-file macro and loses its text, an anchor next to a page is dropped, a hash link becomes an ac:link anchor, title and target attributes are dropped, a userkey becomes an account id that starts with userkey-, and a shortcut link becomes a 404 URL.

  • <ac:link> to a page

    Sent (storage format)

    <p><ac:link><ri:page ri:content-title="Page Title" /><ac:plain-text-link-body><![CDATA[Link to another Confluence Page]]></ac:plain-text-link-body></ac:link></p>

    Back after the round trip through ADF

    <p><a href="https://your-site.atlassian.net/wiki/pages/createpage.action?spaceKey=SD&amp;title=Page%20Title&amp;linkCreation=true&amp;fromPageId=<page id>">Link to another Confluence Page</a></p>

    Sent to Confluence Cloud on .

  • <ac:link> to a page

    Sent (storage format)

    <p><ac:link><ri:page ri:content-title="Plugin developer tutorial stuff" ri:space-key="TECHWRITING" /></ac:link></p>

    Back after the round trip through ADF

    <p><a href="https://your-site.atlassian.net/wiki/pages/createpage.action?spaceKey=TECHWRITING&amp;title=Plugin%20developer%20tutorial%20stuff">Plugin developer tutorial stuff</a></p>

    Sent to Confluence Cloud on .

  • Links to attachments

    Sent (storage format)

    <p><ac:link><ri:attachment ri:filename="atlassian_logo.gif" /><ac:plain-text-link-body><![CDATA[Link to a Confluence Attachment]]></ac:plain-text-link-body></ac:link></p>

    Back after the round trip through ADF

    <p><ac:structured-macro ac:name="view-file" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="name"><ri:attachment ri:filename="atlassian_logo.gif" ri:version-at-save="1" /></ac:parameter></ac:structured-macro></p>

    Sent to Confluence Cloud on .

  • Links to attachments

    Sent (storage format)

    <ac:image><ri:attachment ri:filename="atlassian_logo.gif" /></ac:image>

    Back after the round trip through ADF

    <ac:image ac:align="left" ac:layout="align-start"><ri:attachment ri:filename="atlassian_logo.gif" ri:version-at-save="1" /></ac:image>

    Sent to Confluence Cloud on .

  • Anchor links

    Sent (storage format)

    <p><ac:link ac:anchor="anchor"><ac:plain-text-link-body><![CDATA[Anchor Link]]></ac:plain-text-link-body></ac:link></p>

    Back after the round trip through ADF

    <p><ac:link ac:anchor="anchor"><ac:link-body>Anchor Link</ac:link-body></ac:link></p>

    Sent to Confluence Cloud on .

  • Anchor links

    Sent (storage format)

    <p><ac:link ac:anchor="anchor"><ri:page ri:content-title="pagetitle"/><ac:plain-text-link-body><![CDATA[Anchor Link]]></ac:plain-text-link-body></ac:link></p>

    Back after the round trip through ADF

    <p><ac:link><ri:page ri:content-title="pagetitle" /><ac:link-body>Anchor Link</ac:link-body></ac:link></p>

    Sent to Confluence Cloud on .

  • Anchor links

    Sent (storage format)

    <p><a href="#section-two">same-page hash link</a></p>

    Back after the round trip through ADF

    <p><ac:link ac:anchor="section-two"><ac:link-body>same-page hash link</ac:link-body></ac:link></p>

    Sent to Confluence Cloud on .

  • <a href> external links

    Sent (storage format)

    <p><a href="https://example.com" title="Tooltip">titled link</a></p>

    Back after the round trip through ADF

    <p><a href="https://example.com">titled link</a></p>

    Sent to Confluence Cloud on .

  • <a href> external links

    Sent (storage format)

    <p><a href="https://example.com" target="_blank">new tab</a></p>

    Back after the round trip through ADF

    <p><a href="https://example.com">new tab</a></p>

    Sent to Confluence Cloud on .

  • <a href> external links

    Sent (storage format)

    <p><a href="https://example.com"><strong>bold link</strong></a></p>

    Back after the round trip through ADF

    <p><strong><a href="https://example.com">bold link</a></strong></p>

    Sent to Confluence Cloud on .

  • User links and mentions

    Sent (storage format)

    <p><ac:link><ri:user ri:userkey="2c9680f7405147ee0140514c26120003"/></ac:link></p>

    Back after the round trip through ADF

    <p><ac:link><ri:user ri:account-id="userkey-2c9680f7405147ee0140514c26120003" /></ac:link></p>

    Sent to Confluence Cloud on .

  • Space, blog post, content and shortcut links

    Sent (storage format)

    <p><ac:link><ri:space ri:space-key="SD" /></ac:link></p>

    Back after the round trip through ADF

    <p><ac:link><ri:space ri:space-key="SD" /><ac:link-body>Software Development</ac:link-body></ac:link></p>

    Sent to Confluence Cloud on .

  • Space, blog post, content and shortcut links

    Sent (storage format)

    <p><ac:link><ri:blog-post ri:space-key="FOO" ri:content-title="First Post" ri:posting-day="2012/01/30" /></ac:link></p>

    Back after the round trip through ADF

    <p><ac:link><ri:blog-post ri:space-key="FOO" ri:content-title="First Post" ri:posting-day="2012/01/30" /><ac:link-body>First Post</ac:link-body></ac:link></p>

    Sent to Confluence Cloud on .

  • Space, blog post, content and shortcut links

    Sent (storage format)

    <p><ac:link><ri:content-entity ri:content-id="123" /></ac:link></p>

    Back after the round trip through ADF

    <p><ac:link><ri:content-entity ri:content-id="123" /><ac:link-body>unnamed link</ac:link-body></ac:link></p>

    Sent to Confluence Cloud on .

  • Space, blog post, content and shortcut links

    Sent (storage format)

    <p><ac:link><ri:shortcut ri:key="jira" ri:parameter="ABC-123" /></ac:link></p>

    Back after the round trip through ADF

    <p><a href="https://your-site.atlassian.net/wiki/404?key%3Djira%3Bsearch%3Fq%3DABC-123">unnamed link</a></p>

    Sent to Confluence Cloud on .

  • Link bodies: plain text and rich

    Sent (storage format)

    <p><ac:link><ri:page ri:content-title="Plugin developer tutorial stuff" ri:space-key="TECHWRITING" /><ac:plain-text-link-body><![CDATA[A plain <text> link body]]></ac:plain-text-link-body></ac:link></p>

    Back after the round trip through ADF

    <p><a href="https://your-site.atlassian.net/wiki/pages/createpage.action?spaceKey=TECHWRITING&amp;title=Plugin%20developer%20tutorial%20stuff">A plain &lt;text&gt; link body</a></p>

    Sent to Confluence Cloud on .

Images

Every image gains a left alignment and its source URL as ac:src. Height, border, title, vspace, hspace, class, style and thumbnail are dropped; width and alt are kept.

  • <ac:image> from a URL

    Sent (storage format)

    <ac:image><ri:url ri:value="http://confluence.atlassian.com/images/logo/confluence_48_trans.png" /></ac:image>

    Back after the round trip through ADF

    <ac:image ac:align="left" ac:layout="align-start" ac:src="http://confluence.atlassian.com/images/logo/confluence_48_trans.png"><ri:url ri:value="http://confluence.atlassian.com/images/logo/confluence_48_trans.png" /></ac:image>

    Sent to Confluence Cloud on .

  • <ac:image> from a URL

    Sent (storage format)

    <p><ac:image ac:width="200"><ri:url ri:value="https://example.com/logo.png" /></ac:image></p>

    Back after the round trip through ADF

    <ac:image ac:align="left" ac:layout="align-start" ac:custom-width="true" ac:width="200" ac:src="https://example.com/logo.png"><ri:url ri:value="https://example.com/logo.png" /></ac:image>

    Sent to Confluence Cloud on .

  • <ac:image> from a URL

    Sent (storage format)

    <p><ac:image ac:align="center" ac:layout="center" ac:width="300"><ri:url ri:value="https://example.com/logo.png" /></ac:image></p>

    Back after the round trip through ADF

    <ac:image ac:align="center" ac:layout="center" ac:custom-width="true" ac:width="300" ac:src="https://example.com/logo.png"><ri:url ri:value="https://example.com/logo.png" /></ac:image>

    Sent to Confluence Cloud on .

  • Image attributes

    Sent (storage format)

    <p><ac:image ac:border="true" ac:title="Logo tooltip" ac:alt="Company logo" ac:height="100" ac:vspace="10" ac:hspace="10" ac:class="my-class" ac:style="opacity: 0.5"><ri:url ri:value="https://example.com/logo.png" /></ac:image></p>

    Back after the round trip through ADF

    <ac:image ac:align="left" ac:layout="align-start" ac:alt="Company logo" ac:src="https://example.com/logo.png"><ri:url ri:value="https://example.com/logo.png" /><ac:caption><p>Logo tooltip</p></ac:caption><ac:adf-mark key="border" size="1" color="#758195" /></ac:image>

    Sent to Confluence Cloud on .

  • Image attributes

    Sent (storage format)

    <p><ac:image ac:thumbnail="true"><ri:url ri:value="https://example.com/logo.png" /></ac:image></p>

    Back after the round trip through ADF

    <ac:image ac:align="left" ac:layout="align-start" ac:src="https://example.com/logo.png"><ri:url ri:value="https://example.com/logo.png" /></ac:image>

    Sent to Confluence Cloud on .

Tables and layouts

thead is flattened into the body, a background set with style on a cell is dropped while data-highlight-colour is kept, a relative width and the number column are dropped, and a layout that has fewer cells than its type or does not start the page is rebuilt. section and column macros become a page layout.

  • Tables

    Sent (storage format)

    <table><thead><tr><th>Head in thead</th></tr></thead><tbody><tr><td>x</td></tr></tbody></table>

    Back after the round trip through ADF

    <table data-layout="default"><tbody><tr><th><p>Head in thead</p></th></tr><tr><td><p>x</p></td></tr></tbody></table>

    Sent to Confluence Cloud on .

  • Cell background colours

    Sent (storage format)

    <table><tbody><tr><td data-highlight-colour="#deebff">blue cell</td><td style="background-color: #ffebe6;">styled cell</td></tr></tbody></table>

    Back after the round trip through ADF

    <table data-layout="default"><tbody><tr><td data-highlight-colour="#deebff"><p>blue cell</p></td><td><p>styled cell</p></td></tr></tbody></table>

    Sent to Confluence Cloud on .

  • Table width, layout and numbered rows

    Sent (storage format)

    <table data-layout="wide" data-table-width="1200"><colgroup><col style="width: 200px;" /><col style="width: 400px;" /></colgroup><tbody><tr><td>a</td><td>b</td></tr></tbody></table>

    Back after the round trip through ADF

    <table data-table-width="1200.0" data-layout="wide"><colgroup><col style="width: 200.0px;" /><col style="width: 400.0px;" /></colgroup><tbody><tr><td><p>a</p></td><td><p>b</p></td></tr></tbody></table>

    Sent to Confluence Cloud on .

  • Table width, layout and numbered rows

    Sent (storage format)

    <table class="relative-table" style="width: 50%;"><tbody><tr><td>half width</td></tr></tbody></table>

    Back after the round trip through ADF

    <table data-layout="default"><tbody><tr><td><p>half width</p></td></tr></tbody></table>

    Sent to Confluence Cloud on .

  • Table width, layout and numbered rows

    Sent (storage format)

    <table data-number-column="true"><tbody><tr><th>H</th></tr><tr><td>numbered</td></tr></tbody></table>

    Back after the round trip through ADF

    <table data-layout="default"><tbody><tr><th><p>H</p></th></tr><tr><td><p>numbered</p></td></tr></tbody></table>

    Sent to Confluence Cloud on .

  • <ac:layout> page layouts

    Sent (storage format)

    <ac:layout><ac:layout-section ac:type="two_equal"><ac:layout-cell><p>only one cell</p></ac:layout-cell></ac:layout-section></ac:layout>

    Back after the round trip through ADF

    <ac:layout-section ac:type="two_equal"><ac:layout-cell><p>only one cell</p></ac:layout-cell></ac:layout-section>

    Sent to Confluence Cloud on .

  • <ac:layout> page layouts

    Sent (storage format)

    <p>before</p><ac:layout><ac:layout-section ac:type="single"><ac:layout-cell><p>layout not first</p></ac:layout-cell></ac:layout-section></ac:layout>

    Back after the round trip through ADF

    <ac:layout><ac:layout-section ac:type="fixed-width" ac:breakout-mode="default"><ac:layout-cell><p>before</p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single" ac:breakout-mode="default"><ac:layout-cell><p>layout not first</p></ac:layout-cell></ac:layout-section></ac:layout>

    Sent to Confluence Cloud on .

  • section and column macros

    Sent (storage format)

    <ac:structured-macro ac:name="section"><ac:rich-text-body><ac:structured-macro ac:name="column"><ac:parameter ac:name="width">50%</ac:parameter><ac:rich-text-body><p>col 1</p></ac:rich-text-body></ac:structured-macro><ac:structured-macro ac:name="column"><ac:rich-text-body><p>col 2</p></ac:rich-text-body></ac:structured-macro></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:layout><ac:layout-section ac:type="two_equal" ac:breakout-mode="default"><ac:layout-cell><p>col 1</p></ac:layout-cell><ac:layout-cell><p>col 2</p></ac:layout-cell></ac:layout-section></ac:layout>

    Sent to Confluence Cloud on .

Emoticons and variables

Emoticons gain emoji attributes, a name that does not match its emoji is rewritten, an unknown name becomes blue-star, and a template variable (at:var) is removed.

  • <ac:emoticon> and emoji

    Sent (storage format)

    <p><ac:emoticon ac:name="smile" /></p>

    Back after the round trip through ADF

    <p><ac:emoticon ac:name="smile" ac:emoji-shortname=":slight_smile:" ac:emoji-id="1f642" ac:emoji-fallback="🙂" /></p>

    Sent to Confluence Cloud on .

  • <ac:emoticon> and emoji

    Sent (storage format)

    <p><ac:emoticon ac:name="information" /></p>

    Back after the round trip through ADF

    <p><ac:emoticon ac:name="information" ac:emoji-shortname=":info:" ac:emoji-id="atlassian-info" ac:emoji-fallback=":info:" /></p>

    Sent to Confluence Cloud on .

  • <ac:emoticon> and emoji

    Sent (storage format)

    <p><ac:emoticon ac:name="blue-star" ac:emoji-shortname=":rocket:" ac:emoji-id="1f680" ac:emoji-fallback="🚀" /></p>

    Back after the round trip through ADF

    <p><ac:emoticon ac:name="rocket" ac:emoji-shortname=":rocket:" ac:emoji-id="1f680" ac:emoji-fallback="🚀" /></p>

    Sent to Confluence Cloud on .

  • <ac:emoticon> and emoji

    Sent (storage format)

    <p><ac:emoticon ac:name="not-a-real-name" /></p>

    Back after the round trip through ADF

    <p><ac:emoticon ac:name="blue-star" ac:emoji-shortname=":blue_star:" ac:emoji-id="atlassian-blue_star" ac:emoji-fallback="not-a-real-name" /></p>

    Sent to Confluence Cloud on .

  • Placeholders and template variables

    Sent (storage format)

    <p>A single-line text variable:&nbsp;<at:var at:name="MyText" /></p>

    Back after the round trip through ADF

    <p>A single-line text variable:&nbsp;</p>

    Sent to Confluence Cloud on .

Formatting and report macros

info, note, tip, warning and panel gain a containerLevel; their title becomes bold text inside the body, and icon, border and title colours are dropped. An empty info macro disappears. A code macro with a title and collapse becomes an expand, firstline, linenumbers and theme are dropped, long language names become short ones, and a rich-text body inside code is lost. A status with an unknown colour loses the colour.

  • info, note, tip and warning macros

    Sent (storage format)

    <ac:structured-macro ac:name="info"><ac:rich-text-body><p>Info text</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="info" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:rich-text-body><p>Info text</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • info, note, tip and warning macros

    Sent (storage format)

    <ac:structured-macro ac:name="info"><ac:parameter ac:name="title">Heads up</ac:parameter><ac:parameter ac:name="icon">false</ac:parameter><ac:rich-text-body><p>Info with title, no icon</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="info" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:rich-text-body><p><strong>Heads up</strong></p><p>Info with title, no icon</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • info, note, tip and warning macros

    Sent (storage format)

    <ac:structured-macro ac:name="note"><ac:rich-text-body><p>Note</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="note" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:rich-text-body><p>Note</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • info, note, tip and warning macros

    Sent (storage format)

    <ac:structured-macro ac:name="tip"><ac:rich-text-body><p>Tip</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="tip" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:rich-text-body><p>Tip</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • info, note, tip and warning macros

    Sent (storage format)

    <ac:structured-macro ac:name="warning"><ac:rich-text-body><p>Warning</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="warning" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:rich-text-body><p>Warning</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • info, note, tip and warning macros

    Sent (storage format)

    <ac:structured-macro ac:name="info"></ac:structured-macro>

    Back after the round trip through ADF

    <p />

    Sent to Confluence Cloud on .

  • panel macro

    Sent (storage format)

    <ac:structured-macro ac:name="panel"><ac:parameter ac:name="title">My Title</ac:parameter><ac:parameter ac:name="borderStyle">dashed</ac:parameter><ac:parameter ac:name="borderColor">#ccc</ac:parameter><ac:parameter ac:name="titleBGColor">#F7D6C1</ac:parameter><ac:parameter ac:name="bgColor">#FFFFCE</ac:parameter><ac:rich-text-body><p>a <strong>panel</strong></p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:parameter ac:name="bgColor">#FFFFCE</ac:parameter><ac:rich-text-body><p><strong>My Title</strong></p><p>a <strong>panel</strong></p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • panel macro

    Sent (storage format)

    <ac:structured-macro ac:name="panel"><ac:parameter ac:name="bgColor">#deebff</ac:parameter><ac:rich-text-body><p>blue</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:parameter ac:name="bgColor">#deebff</ac:parameter><ac:rich-text-body><p>blue</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • panel macro

    Sent (storage format)

    <ac:structured-macro ac:name="panel"><ac:parameter ac:name="bgColor">#ff0000</ac:parameter><ac:rich-text-body><p>custom red</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:parameter ac:name="bgColor">#ff0000</ac:parameter><ac:rich-text-body><p>custom red</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • panel macro

    Sent (storage format)

    <ac:structured-macro ac:name="panel"><ac:rich-text-body><p>default panel</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="containerLevel">panel_c1</ac:parameter><ac:rich-text-body><p>default panel</p></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • code macro

    Sent (storage format)

    <ac:structured-macro ac:name="code"><ac:parameter ac:name="language">python</ac:parameter><ac:parameter ac:name="title">setup.py</ac:parameter><ac:parameter ac:name="linenumbers">true</ac:parameter><ac:parameter ac:name="collapse">true</ac:parameter><ac:parameter ac:name="theme">Midnight</ac:parameter><ac:parameter ac:name="firstline">10</ac:parameter><ac:plain-text-body><![CDATA[print("hi")]]></ac:plain-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="expand" ac:schema-version="1" ac:local-id="<id>" ac:macro-id="<id>"><ac:parameter ac:name="title">setup.py</ac:parameter><ac:rich-text-body><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="language">py</ac:parameter><ac:plain-text-body><![CDATA[print("hi")]]></ac:plain-text-body></ac:structured-macro></ac:rich-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • code macro

    Sent (storage format)

    <ac:structured-macro ac:name="code"><ac:parameter ac:name="language">python</ac:parameter><ac:rich-text-body><p>rich body in code</p></ac:rich-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="language">py</ac:parameter></ac:structured-macro>

    Sent to Confluence Cloud on .

  • code macro languages

    Sent (storage format)

    <ac:structured-macro ac:name="code"><ac:parameter ac:name="language">javascript</ac:parameter><ac:plain-text-body><![CDATA[let a]]></ac:plain-text-body></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="language">js</ac:parameter><ac:plain-text-body><![CDATA[let a]]></ac:plain-text-body></ac:structured-macro>

    Sent to Confluence Cloud on .

  • status macro

    Sent (storage format)

    <ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Orange</ac:parameter><ac:parameter ac:name="title">BAD COLOUR</ac:parameter></ac:structured-macro>

    Back after the round trip through ADF

    <p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">BAD COLOUR</ac:parameter></ac:structured-macro></p>

    Sent to Confluence Cloud on .

  • details and detailssummary (page properties)

    Sent (storage format)

    <ac:structured-macro ac:name="detailssummary"><ac:parameter ac:name="cql">label = demo</ac:parameter></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="detailssummary" ac:schema-version="3" data-layout="full-width" ac:macro-id="<id>"><ac:parameter ac:name="cql">label = demo</ac:parameter></ac:structured-macro>

    Sent to Confluence Cloud on .

  • Reporting macros (content by label, recently updated, attachments...)

    Sent (storage format)

    <ac:structured-macro ac:name="attachments"></ac:structured-macro>

    Back after the round trip through ADF

    <ac:structured-macro ac:name="attachments" ac:schema-version="1" data-layout="wide" ac:macro-id="<id>" />

    Sent to Confluence Cloud on .

Questions and answers

Does Confluence change my storage format as soon as I save it?

No. A page saved as storage format through the REST API returns the same markup, with a few attributes added, until its ADF is saved, for example when someone edits the page in the editor. The rewrite happens on that save.

Can the code macro draw Mermaid diagrams?

No. A code macro with the language mermaid keeps the language name, but Confluence Cloud shows the source as plain text with the Java brush. Drawing the diagram needs a macro app, for example Mermaid Studio.

How do I avoid the losses?

Write ADF when the content matters, keep to elements that exist in both formats, and find the pages that use legacy macros with CQL before anyone edits them.

Sources

  1. Confluence storage format (Atlassian Documentation)
  2. Macros that are unavailable or have limited availability in the Cloud editor (Atlassian Support)
  3. Atlassian Document Format: document structure (Atlassian Developer)
  4. Confluence Cloud REST API v1: content (Atlassian Developer)

Markdown version · All storage format pages