It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why do I get a blank bullet point as the first item of the TOC?

Deleted user Mar 10, 2017

This question is in reference to Atlassian Documentation: Table of Contents Macro

Every time I use this macro, it shows an empty/blank entry as the first item of the list.

I don't know why this appears!

2 answers

1 accepted

7 votes
Answer accepted

Make sure that there isn't an empty line above your first header, or make sure that everything (macros, tables, etc.) are set to the Paragraph style.

Deleted user Mar 12, 2017

The first line in the article, the one with the TOC macro on it, was set to Heading 2.

Changing it to Paragraph got rid of the blank bullet point item within the rendered TOC.

Like # people like this

To be more specific, my issues was that the Table of Contents as being formatted as a Heading 1, which was not immediately obvious. This caused the TOC to count as the first entry.

Like David_Steinbroner likes this

This is what I needed! I ensured the fix by deleting my table of contents macro and then inserting it again.

I had this same problem, even after making sure I wasn't typing anything extra and after already setting the TOC line of the document to be "Paragraph" style.  What finally worked for me was the following. Go to the "Edit 'Table of Contents' Macro" pop-up window (this pops up when you insert a new TOC, or when you double-click the icon for one you've already added), scroll down to the "Exclude Headings" field and enter the two characters w* here.  This essentially tells Confluence to leave out any bullet points that appear blank.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

52 views 2 4
Join discussion

Community Events

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

Events near you