I want to exclude all Heading 5 text from the TOC.
These settings do not work:
min=3, max=6, exclude=5 (preview: includes all H5 text)
min=3, max=4, include=6 (preview: blank TOC)
@Efleda Brophy in the include and exclude you need to put the text that is in the heading, not the heading number.
In your example you are trying to exclude Heading 5. In order to do that you will need to insert the text contained in that heading in the macro parameters.
Also, if you set the min to 3 and max to 4, no matter what appears in header 6 you cannot include it since the first parameter (min/max) would override the second one (include 6).
The documentation for the ToC Macro can be found here:
https://support.atlassian.com/confluence-cloud/docs/insert-the-table-of-contents-macro/
I hope this helps!
@Andy Gladstone Thank you. I was hoping it would be simpler than having to type all H5 text.
I tried this solution using the default delimiter (brackets). This is what Exclude Headings text box contains: [AUTHOR(S)][DATE CREATED OR UPDATED:][STATUS][TECHNICAL OWNER][APPROVER(S)][DATE APPROVED:][AUDIENCE][PURPOSE][OVERVIEW][DETAILS]
Preview or Publication still displays all text with (listed under Exclude Headings) in the TOC.
What am I missing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The include/exclude work off regular expressions, so what I would do with your settings is
Problem is I'm rubbish at Regex, I'm not sure what to actually write there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.