ToC Exclude Headings does not work for me.
I have two headings I would like to exclude:
Introduction
Table of Contents
Using the ToC macro, I've modified the 'exclude headings' parameter a million times. I can barely tell you what works and what doesn't, because it seems to be doing so at complete random.
I have tried using the | from server version, which doesn't seem to work, but is listed on the documentation page: https://support.atlassian.com/confluence-cloud/docs/insert-the-table-of-contents-macro/
I have tried using , with spaces on both sides, one on either side and no spaces - none of them consistently work.
I tried renaming the headline to just 'Table' to see if there was an issure there, and it worked once, but when I went to correct it back to the right name, it stopped working. I tried reverting it to one-word and now it no longer works. Along the way, the 'Introduction' header seems to appear and disappear seemingly at random. At one point I had that as the only exclusion and it didn't even work. Then I removed all exclusions and 'Introduction' disappeared from the table.
Anyone have any idea what is going on with this macro?
I think I've solved it by doing 2 things:
a. I've noticed that the change doesn't always follow through, so after publishing, I go back to edit and publish again and then it changes.
b. Using the syntax from this posts answer by Ryan Canfield, it seems to work! https://community.atlassian.com/t5/Confluence-questions/Exclude-multiple-headings-in-table-of-contents/qaq-p/1904617
I tried adding a second ToC Macro and sucessfully excluded "Introduction" with the parameter
"Introduction,"
Then I went back to edit the original ToC - and did not touch the new ToC - and when I published the new ToC stopped excluding Introduction. Is the macro just broken?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried using parentheses in the parameter
(Introduction,Table)
And that worked!
Then I changed the headline again, along with the parameter
(Introduction,Table of Contents)
And that did not work.
Then I changed it back to
(Introduction,Table)
and now that also does not work.
This is absurd.
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.