The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

TOC Filter

Matt Herndon
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!
March 29, 2012

If you want to make a TOC filter that does not display certain headers you can use toc:exclude. For example if I want to exclude headers that have the word Our or the word Ticket in them I can use:

{toc:exclude=.*(Our).*,.*(Ticket).*}

The comma totally separates out each element so I had to surround each word with .* to make sure they both worked. .*(Our),(Ticket).* would not work.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Matt Herndon
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!
March 29, 2012

This question is in fact an answer to a question I found on the old Atlassian Forum. I tried to do a good deed by answering it, but it got orphan posted here instead.

Here is the question I was trying to answer. If someone wants to find that question in this new answers bit and associate my answer with it be my guest.

http://forums.atlassian.com/thread.jspa?threadID=31216