Add manual table of contents with DekiScript

Topic, How-To, and 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

  1. Open the page in Edit mode.
  2. Select Style > DekiScript from the Editor toolbar.
  3. Add the following code into the DekiScript field:
    page.toc;
    
  4. Save the page.