Hello,
I embedded the Table of Contents macro into my home page, and asked it to read Headings 1 & 2, but even after publishing the page nothing is showing up. I have many pages with headings 1 & 2 in this space, but nothing is showing up. I've also tried making new pages to see if there is something wrong with my old pages and the new editor, but the new pages don't show up either. Any help is appreciated. I am new to navigating Confluence and am trying to organize our spaces. I've been following all the "how to" guides, but cannot figure out why this isn't working.
Thanks,
Djahari
Hello @Djahari Clark !
As I understand, you need to show both level 1 and level 2 headings within the Table of Contents macro.
With this objective in mind, I tried to replicate the behavior you explained. After trying, I was ultimately unable to replicate it.
The Table of Contents macro does display the desired headings within my page. Here is what it looks like, in both New and Legacy editor:
New Editor
Legacy Editor
Here is the full documentation for the macro:
The objective of the Table of Contents macro is to display headings from the page in which the macro has been placed.
If you need to display headings from another page inside another, you will need to do the following:
- Create a page with Headings
- Insert the Excerpt macro
- Insert the Table of Contents macro inside the Excerpt Macro
- Set the Table of Contents macro to use Absolute URL (this setting is right at the end of the settings list)
- Publish the page
- Create a new page
- Insert the Excerpt Include macro
- Select the previously created page in the Excerpt Include macro settings
- Publish the page
Documentation for the Excerpt and Excerpt Include macros:
Let us hear from you!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.