Is there a reason or am I making any mistake for which I see my TOC with wrong styles for some of the paragraph titles? See, for instance, 2.2.1, 2.3 or 3..
I carefully checked my document but I couldn't find any special for those headers: they are normal lines with one of the Header style applied, like all the other paragraph titles...
I found a workaround. Elaborating on Mick's suggestion, I did some more tests on the formatting of those headings. The first thing that I discovered was that if I removed the Heading 1 style from paragraph 3. title ("Requisiti dettagliati"), that line, alghough becoming a Paragraph line, still displayed with a huge font size (compared to the standard Paragraph font size). I don't know how that was even possible, since I'm using the plain Confluence editor (so, neither HTML nor wiki markup written directly) and I don't even find a way to augment the font size with this editor...
Than, I found out the "Clear formatting" option in the "More" decoration button and applied it on my heading and... voilà! Now the TOC is rendered correctly!
Thanks for your help!
I've had this too, the problem was being caused by the formatting applied to the heading. IE, in my case, someone had added BOLD to a heading. The TOC macro picked this up and rendered the bold as well as the standard formatting and this was all displayed in the TOC.
I'd check that before getting too involved in more complex ideas.
Can you access the HTML in Edit mode? If so, have a look at that too. I've found that sometimes the HTML goes wrong and if you edit it, everything looks as you want it too. This might be a bit of a long shot though. You can access it using the <> button in the tpo right corner of a page.
I actually tried to have a look at the HTML code some days ago, but I must confess I didn't go into it thoroughly, because I found it very verbose and nothing evident drew my attention.
If it happens again, I may try to look at it more carefully, so that I might understand how to reproduce this issue.
Hey Community 👋, Following the recent release of the new editor, we will be releasing the ability for users to convert existing pages from the legacy editor to the new editor. We’ve been resp...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events