![]() |
Page History
Scrollbar | ||
---|---|---|
|
...
Putting a table of contents on a page
Panel | ||||
---|---|---|---|---|
| ||||
|
Add a table of contents to a new page
Click Add Page and then the link to Select a page template to start from. Select the table of contents template. When you save the page the table of contents is displayed. The page has a table of contents in the left column. You can edit the markup to meet your requirements.
Add a table of contents to an existing page
Add markup like the following at the place on the page where you want the table of contents to appear:
Code Block |
---|
{panel:title=Contents} |
...
{toc:minLevel= |
...
2}
{panel} |
OR
Code Block |
---|
{panel:title=Contents} {toc:maxLevel=4} {panel} |
OR
Code Block |
---|
{panel:title=Contents} |
...
{toc:maxLevel=4|minLevel=2} |
...
{panel} |
...
Save the text to see the table of contents; the preview does not show it until the page has been saved.
You may also copy the markup on the page with minimal markup for a table of contents. This page provides markup for a table of contents in the left column.
...
First heading at second level
...
Some level two text to demonstrate the table of contents.
...
Second heading at second level
...
.
Second level heading for this example
Some text.
Third level heading for this example
Some text.
Third level heading for this example
Some textMore level two text to demonstrate the table of contents.
Scrollbar | ||
---|---|---|
|