Exclude Questions from Table of Contents

Pretty simple question in theory - I have a Table of Contents at the top of a page, some content, and then a Questions macro at the bottom of the page. The Table of Contents automatically includes the Questions in it, so that the Table of Contents gets longer with every question asked. I see that there's an "exclude" section in the Table of Contents properties, is there an easy way to exclude the whole Questions section from the ToC?

1 answer

1 accepted

Accepted Answer
1 vote

Hello Jake,

In this case the best approach would be to use a different macro, the Table Of Content Zone: https://confluence.atlassian.com/doc/table-of-content-zone-macro-189890742.html

You can insert it instead of the TOC macro at the top of the page and then cut and paste all content but the questions macro inside it.

Remember to edit the TOC Zone macro and change the location to top so the TOC is only showed at the top of the page.

I hope it helps, Jake.

Best regards,

Eduardo Mallmann
Atlassian Support

Thank you! Worked perfectly. I had assumed that there would be a way to use the Exclude field in the regular Table of Contents - however, using the Table of Contents Macro instead worked as expected.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

258 views 1 4
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you