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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Table of Contents Macro - why is the preview I see in the macro not displaying on my page?

I'm using the TOC macro for the first time, I can see my headings listed in the preview in the macro builder, but when I hit save all that is displayed is a blue box that says table of contents, but none of my headings. Shouldn't the preview box be WYSIWYG? I have chosen the following in the macro:

  • Output type - flat
  • List style - disc
  • Heading indent - 
  • Separator - brackets
  • Min Level - 1
  • Max Level - 7
  • Include Headings - 
  • CSS - 

2 answers

1 vote

It's a known weakness in the preview function of the general "configure macro" dialogue - it does not go back to the page to read sample data in every case, it only looks at the configuration of the macro, and provided content body.

The TOC macro only draws from the content of the page, so the preview doesn't get anything to work with.

How do I get a TOC to display then, did I miss something in my settings?  The preview shows these but when I hit save I just get a box that says Table of Contents, with none of my headings

Overview ] [ Advanced Info ] [ 1) Organization ] [ Advanced Info ] [ RG Type & RG Tier ] [ Advanced Info ] [ Classifications Tab - Activity Status & Economic Model ] [ Advanced Info ] [ Optional Fields ] [ Advanced Info ]

Are your desired content truly headings in Confluence?

I mean, each one is on a separate line and formatted with one of the six "heading" formats?

Yes they are. I think there was a glitch in the system, it is now displaying.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

101 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you