Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Question about an Expand Macro within another Expand macro, and displaying the title

How do I get an expand macro title, that is located within another expand macro, to display the second macros title without having to open the first expand macro. I want the titles to be displayed like a table of contents.


Davin Studer Community Leader Jul 25, 2018

That's not really possible using the expand macros. What effect are you trying to achieve? Maybe there is another possibility.

The effect that I'm trying to achieve is an organized document that allows users to look for a specific title and see all the tables that are associated under that title. I have tables in each expanded macro that are displaying data that is further broken down into various levels/indention. Its a lot of information to look through, so I need a macro that is collapsible.  Something that has similar capabilities of the Expand macro and table of content macro that will allow me to display both the title and allow expand/minimize quality.

I got it to kind of work. It's definitely not something that the Confluence editor wants to do.

kind of works.PNG

I started with expand 1, then created a new line, added a bullet, then added another expand macro. I'm not sure what the effects would be if you added more layering, but this is likely the closest you'll get in the current version of Confluence.

Alternatively, you could have a non-layered list of expand macros and name them to reflect their hierarchy, like 1 Heading with 1.1 Sub-heading and 1.2 Sub-heading underneath it.

I hope this helps!

I tried your bullet point method that you suggested however, it didn't work for what I was trying to do. My first expand macro table isn't indented, but the second one is and then the third one goes back to no indention. The third one also doesn't need a title because the table info should fall under the first expanded macro. Sorry if this is confusing. 

If you could include a screenshot, that would help immensely. Otherwise, you'll have to be more specific in your description.

There's no way to have some content displayed when an expand macro is closed.

Alternatively, you could convert the tables into images and then display them as a link so when the expand macro is opened the user isn't overwhelmed by information. (unless you need to be able to include links or selectable text in your table)

I think I might've exhausted all my ideas. If you figure out a way to do it, please update the Community so we can share the solution and answer future questions.


Log in or Sign up to comment
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

343 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you