Forums

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

Why does the table of contents show up in itself?

Derek Watson
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!
February 3, 2022

It's incredibly annoying to me that my Table of Contents macro includes itself as the final link: "Table of Contents".  Why on earth would anyone want that, ever?  You're literally looking at the TOC, so why link to it? And what's with the random extra bullet?  The TOC isn't even in the same section as "So what's next?" So also no clue why it's there.Screen Shot 2022-02-03 at 2.16.48 PM.png

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2022

This can happen when you've highlighted the area the macro is in as a header.

Your display looks like you've done:

h1. So what's next

h2. {toc}

If this is the case, then what you really want is

h1. So what's next

{toc}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events