Headings above Content by Label macro are not displayed in ToC and are not numbered

Description

When exporting heading levels that immediate precede the Content by Label macro, the specific heading level is not included in the Table of Contents (ToC) and is not numbered in the export content.

Steps to reproduce:

  1. Create a page

  2. Add a Heading level 1

  3. Add a Content by Label macro underneath the heading level 1

  4. Export the page using the Documentation template

Expected result: The ToC includes the heading level and the heading level is numbered in the generated PDF export

Actual result: The ToC does not include the heading level and the heading level content is not numbered in the generated PDF export. 

Workaround (either):

  • Add a line break between the heading level and the Content by Label macro on the Confluence page

  • Add some content in the List Title parameter for the Content by Label macro
    *

Environment

None

Status

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

None

Participants

None

Deployment

Server

Components

Priority

Major
Configure