Set up Confluence Cloud
Get the high-level details you need to set up your Confluence Cloud site in order to meet your team's needs.
This macro was intentionally removed from the new editor and was replaced with an element available from the Insert menu or from the slash command ( / ) .
The Expand macro displays an expandable/collapsible section of text on your page.
To add the Expand macro:
When editing , select from the toolbar
Find the item to be inserted and select it
Select Insert
You can also type / on the page to bring up the same list you'd see by selecting from the toolbar.
To edit the Expand macro
Select the macro placeholder. The floating toolbar appears.
Select Edit. The right panel opens.
Modify the parameters. Your changes are saved as you go.
Resume editing the page, and the panel closes.
Parameters are options that you can set to control the content or format of the macro output.
If the parameter name used in Confluence Cloud storage format or wikimarkup is different than the label used when inserting macros using the browser or the slash command, it will be listed below in brackets (example).
Parameter | Default | Description |
---|---|---|
Title
| Click here to expand... | Defines the text that appears next to the expand/collapse icon. |
Wiki markup is useful when you need to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.
Macro name: expand
Macro body: Accepts rich text.
1
2
3
4
5
6
{expand:This is my message}
This text is _hidden_ until you expand it.
{expand}
Text is expanded in PDF and HTML exports. When you export the page to PDF or HTML, the text between the macro tags is expanded so that readers can see it in the PDF and HTML versions of the page.
Nesting your Expand macros. You can put one Expand macro inside another, but only if it's done inside a table.
Was this helpful?