Add manual table of contents with DekiScript
- Applies to:
- All MindTouch Versions
- Role required:
- Draft Contributor
Topic, How-To, or Reference pages automatically display a dynamic table of contents (TOC) and you can manually add a TOC to Guide or Category pages.
Just like the default Table of Contents, the manual TOC displays a bulleted list of links to any headings within your page. A manual TOC style will not have the default TOC styling without using custom CSS.
Example manual TOC
Add manual TOC
- Open page in Edit mode
- Select Style > DekiScript from the Editor toolbar
- Add the following code into the DekiScript field:
page.toc;
- Save the page.