This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Confluence

How To Collapse A Section in Confluence

Updated on:
May 13, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to create a collapsible section in a Confluence page.

Quick summary

The Confluence Expand macro lets you collapse sections of a page so viewers can show or hide content on demand. Adding a collapsible section takes just a few steps using the /expand slash command in the Confluence editor.


Steps

  1. While editing a page, type /expand and select "Expand" from the macro list.
  2. Enter a title for the collapsible section.
  3. Add your content inside the expand block.
  4. Click the down arrow to collapse the section and hide its content.
  5. Click "Publish" or "Update" — the section will now be collapsed by default and can be expanded by the viewer.

📌 Why this matters

The Confluence Expand macro is a powerful way to keep long pages clean and easy to navigate by hiding secondary content behind a collapsible toggle. Teams working with detailed documentation, FAQs, or step-by-step guides can use collapsible sections to reduce information overload and improve readability. Viewers retain full control, choosing to expand only the sections relevant to them, which leads to a better self-service documentation experience. For any Confluence-based knowledge base, mastering the Expand macro is a simple yet high-impact formatting skill.
Your product deserves an interactive demo
Start free
Similar Articles
Confluence

How to Navigate From Jira to Confluence

Madhav Bhandari
Director of Marketing @ Storylane
Confluence

How to Embed a Jira Dashboard in Confluence

Madhav Bhandari
Director of Marketing @ Storylane
Confluence

How to Track Changes in Confluence

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it