Quick summary
To hide a section in Confluence, you insert the Expand macro using the /expand slash command, add a title and hidden content inside the macro body, then publish the page so the section collapses by default and reveals its content on click.
Steps
- Type /expand in the Confluence editor and select Expand from the dropdown menu.
- Add a title (e.g., "Click to view") to label the collapsed section for readers.
- Place the hidden content you want to conceal inside the body of the Expand macro.
- Publish or Update the page so the section is collapsed by default and expands on click.



