Feel free to use this page to experiment with the Text Formatting Rules. Just click the “Edit Page” link at the bottom of the page.

The Table of Contents that follows is created via a small bit of code, which instructs the wiki to

  • look at all the page-contents from that point down,
  • finding the rows that are formatted as headings using the leading “!” markup, and
  • construct a table of contents,
    • with clickable links to the headings,
    • up to two levels deep

Here’s a special way of demonstrating both the code entered and its output. To view all of wiki-markup on this page, you can click here to view the page’s wiki-source.


Here’s a second-level heading, created with two leading exclamation points.

Typically, the top-level heading (single leading “!”) is reserved for the page-header - its title.

Here’s another second-level heading created using two leading exclamation points.

Typically, there’d be some text following each heading

Here’s a third-level heading; using three leading exclamation marks

More text follows

Here we are, back to a second-level heading

Text goes here

Hey, this is a top-level heading; breaks the pattern, so the table of contents markup ignores it

Admittedly, this aspect can be a little confusing

And we’re back to third-level heading

And things are back to normal.

Last edited by TeganDowling. Based on work by JamesCarlson.  Page last modified on February 24, 2007

Legal Information |  Designed and built by Emergency Digital. | Hosted by Steadfast Networks