Working in the Wiki Markup tab, you can copy the markup at the top and bottom of this page to create a table of contents for a page. In the markup, enter the maximum number of levels to show in the table of contents, here 2. Save the text to see the table of contents; the preview does not show it until the page has been saved.
First heading one
Some text.
First heading two
Some level two text.
Second heading two
Second level two text.
Second and last heading one
Second and last level one text.