How can I exclude something from a TOC?

Lauren Church June 5, 2023

Hello! I am just having a heck of a time getting this heading excluded from my Confluence TOC. The heading is XXXX-XX-XX.

I tried ^XXXX-XX-XX% based on some other Community articles I read but it isn't working.

Please help, I am mad at Confluence. :) Thank you!

 

Lauren

2 answers

0 votes
Antonius Golly
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2024

Update in 2024

  • For those who came here because they experience a bug in this filter

The delimeter is not a comma, but a pipe operator: `|` 

If you want to exclude several headings, use:

```

Index|Other Header|References

```

0 votes
Andy Gladstone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 5, 2023

@Lauren Church Welcome to the Atlassian Community. You can exclude specific headers from the Table of Contents Macro by selecting Advanced in the ToC Macro editor and typing in the text contained in the heading you want excluded.

The sequence of screenshots below show before, during editing, and after to remove Heading 5 from the ToC:


Capture.PNG


Capture1.PNG


Capture2.PNG


I hope this helps!

Andy Gladstone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 7, 2023

@Lauren Church checking in to see if my answer helped you. Let me know if it did by marking it as accepted.

Lauren Church June 8, 2023

Hey @Andy Gladstone , thanks for the reply! It's not as helpful in this instance. So, I'm making a list where dates in Heading 2 format need to be shown except XXXX-XX-XX because that one is the template. It's why I was hoping to pop in something that would eliminate that kind of entry but not all sections with that kind of heading. :)

 

Lauren Church June 14, 2023

@Andy Gladstone Hey there! Any additional thoughts on this one?

Andy Gladstone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 19, 2023

Sorry, I don't have any further advice on this. Seems that yours is a bit of an edge use case and not what the ToC exclusions were designed for. Good luck!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events