Forums

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

headings in the content of table from excerpt

Beate Silbermann November 6, 2023

If I have a table of content on the top of the page and insert a including excerpt, the numbered headings do not appear in the table of content. Have you any help?

On the main mage from the excerpt are everything fine.

2 answers

0 votes
Sander Lelieveld
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!
July 5, 2024

Hello, this is the only location and reference I could find on this matter. I need sub-paragraphs from excerpts to also be embedded in the target page where the table of contents is in - with a paragraph number.

Currently I only have the "Heading1" in the ToC as these are not in the excerpt.

All "Heading2's" come from an excerpt but these are not taken up in the ToC on the target page.

Above suggestion of using a panel with ToC was also not successful (at least for me).

Please provide some additional guidance and help @UnknownUser404

0 votes
Barbara Szczesniak
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.
November 7, 2023

@Beate Silbermann Welcome to the Atlassian Community!

I believe that content in the excerpt is not considered in the the Table of Contents macro on the page.

The final bullet on the page describing the macro (https://support.atlassian.com/confluence-cloud/docs/insert-the-table-of-contents-macro/ ) says:

  • The Table of Contents macro only works within the page, blog, or macro to which it has been added, and cannot reference or be referenced across multiple pages or blogs. When added to an Excerpt macro, for example, it will only display headings located inside the excerpt and those heading links won’t navigate to the source page.
Beate Silbermann November 8, 2023

oh thanks for your help.
I have solved the problem. You need a panel in which the table of contents is included if you want to include an excerpt on the page. Only then will all headings displayed correctly in the table of contents.

Beate Silbermann November 8, 2023

But I think this is a bug. Because it is not useful to hide the headings of a included excerpt in the table of contents. And a custom panel was intentionally excluded from the new editor.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events