Forums

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

TOC Macro hide headers by class

Laker Sparks
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!
June 2, 2016

On my page I use the Questions List Macro which creates content with H2 and H3 headers. I would like to include H2 and H3 headers in my TOC, but I don't want the ones from the Questions macro to show up. I noticed that these inserted headers have a class. Is there a way to exclude headers not by a regular expression but by class? Or is there another approach that I'm not thinking of?

1 answer

0 votes
joanna ransome-wallis June 2, 2016

Can you exclude them from the TOC using the exclude field?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events