Adding a table of contents to a wiki page

To display an overview of the contents of a wiki page, add a table of contents to the page.

About this task

The table of contents is generated by a macro that extracts text that is formatted as Heading 2, 3, and 4. When you view the content as HTML Source, these headings are defined in <h2>, <h3>, and <h4> tags. The table is automatically updated when you add or remove content that is tagged with these headings.

You cannot edit the table of contents.


  1. Create or edit a wiki page.
  2. Place the cursor where you want the table of contents to be displayed.
  3. Click the Macros list in the editor toolbar.
    Note: If the Macros list is not available, ask the Wikis administrator to enable it. For more information, see the Wikis configuration properties topic.
  4. Select Table of Contents to add a table of contents to the page.