Creating a Table of Contents
A table of contents based on any headings found on a page can be easily generated using the wiki directive (:toc:). Any headings after the toc directive will be listed (to two levels) until the end of the page is reached or the (:breakpage:) directive.
The anchors it creates can be made visible by using (:toc anchors=visible:).
The default heading text can be changed by using (:toc Replacement Heading:). The default numbered list can be changed to an itemised list by typing (:*toc:).
For more information or to download this extension, please visit http://www.pmwiki.org/wiki/Cookbook/PageTableOfContents.
Example
Level Three Heading One
Some text goes here. Some text goes here. Some text goes here. Some text goes here. Some text goes here. Some text goes here. Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Answer: and answer
Level Three Heading Two
- A bulleted list.
- A bulleted list.
- A bulleted list.
Level Four Heading
Some more text
| << Directives | Documentation Index | Get Page Listings in a "Dictionary Index" Format >> |
