Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,452
Community Members
 
Community Events
184
Community Groups

The Table of Contents Macro has a new look!

Hi Atlassian Community,

My name is Tiffany Chung, and I’m a Product Manager on the Confluence Cloud team.

The Table of Contents macro is a highly used feature that creates a table of contents for a page based on its headings. This helps readers find their way around lengthy pages, summarizing the content structure and providing links to headings. 

Previously, the right rail of the Table of Contents macro was cluttered and heavy-handed. It showcased all possible fields which made it difficult to easily navigate and configure your table of contents. Moreover, some fields allowed users to enter any value when there were limited valid values. For ex. you could specify any value for the heading levels when only inputs 1-7 were valid.

The new and improved Table of Contents macro enables you to customize your table of contents through a basic and advanced tab. The basic tab allows you to quickly and simply configure the look of your table of contents through dropdowns and checkboxes, while the advanced tab allows you to further customize your table of contents with more technical and less commonly used fields, such as headings include and exclude.


Today:

ToC (1).gif 

 

In the basic tab, you can quickly configure your list style, bullet or separator type, heading levels and whether to include section numbering.

Basic tab.png

 

For more granular customization of your ToC, you can click into the advanced tab and set your heading indent and ToC style with a CSS class name, include or exclude certain headings and whether to include your ToC in exported PDFs.

Advanced tab.png

How to use the Table of Contents macro:

insert ToC.gif

  1. Insert a Table of Contents macro by selecting it from the toolbar or typing “/tableofcontents” in the body of your page.

  2. To configure, select the pencil icon in the toolbar and configure using either the basic and/or advanced tabs. Any changes made are autosaved.

  3. Publish your page to see your table of contents.

For more information about the Table of Contents macro or fields, visit the documentation page.

Feedback or Questions

Don’t forget to let us know any feedback or questions you have in the comments. We’d love to hear your suggestions on how we can make this experience even better for you! If you don't see the experience today, you'll see it coming to you instance very soon.

7 comments

Samie Kaufman - Your Gal at Gliffy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 02, 2023

About to use that advanced tab every day. Thanks for the update, @Tiffany Chung !

Like # people like this
Tomislav Tobijas
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.
May 03, 2023

Brilliant! 🥳 I think ToC is the macro I'm using the most, almost on every page I publish. It will be interesting to see the new possibilities with this update. Thanks!

Like # people like this
Matt Reiner _K15t_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 03, 2023

Well this is nice! Great work @Tiffany Chung and team!

Like # people like this
Andy Gladstone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 03, 2023

This is a great improvement to the ToC macro. Thanks for this post @Tiffany Chung

 

I’d like to see an option for a floating ToC that will stay on the page as you scroll. The ToC is a tool that is not only necessary when at the top of the page, but while navigating it - especially pages that are so large or long that require multiple headings and sub-headings. Scrolling all the way back to the top in order to use the hyperlinks in the ToC is not the best experience it can be. 

Like # people like this
George Kopsachilis
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 03, 2023

Great to hear that the Table of Contents macro has been improved to provide a better user experience. The basic and advanced tabs sound like a useful addition for customizing the look of the table of contents. Can't wait to give it a try!

Like Tiffany Chung likes this

I appreciate this update to the macro. However, the documentation page you link to in your article (For more information about the Table of Contents macro or fields, visit the documentation page.) has not been updated to reflect the new tabs and parameters.

Unfortunately, I included 2 TOC macros on my template (one for headings on page, one for procedures on page) and have made all my pages already. I am now adding the content on those pages, so I will see whether it makes sense to create new TOCs with the new macro and delete my old ones.

When is this update available? I just tried it on the page I'm currently writing, and I still get the old macro.

Tiffany Chung
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 03, 2023 • edited

Hi @Barbara Szczesniak , the documentation page will be updated soon, when the feature rolls out to 50% of our users. The new macro look will also apply to all previously inserted ToC macros.

If you don't see the new experience yet, it will be coming to you very soon! Thank you for your patience!

Like Andy Gladstone likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events