This article covers how to manually add a table of contents to a page. Pages classified with an article type of Topic, How-To, or Reference automatically obtain the dynamic table of contents within MindTouch, though you can manually add a table of contents to unclassified pages if needed.
To add a table of contents to a page, follow the instructions below:
- Edit a page, and click on the Styles drop-down within the MindTouch editor.
- Insert a DekiScript block.
- Within the DekiScript block, add the following page.toc function:
- Save the page.
You will now see a bulleted listed of links to each of the header sections within your page.