Page structure

Sections and headings

You can divide your document into sections and subsections. Each section begins with a heading and continues up to the next heading on the same level or a higher level.

Heading Markup Result
First-level heading
== Level 1 heading
Second-level heading
=== Level 2 heading
Third-level heading
==== Level 3 heading
Fourth-level heading
===== Level 4 heading
Fifth-level heading
====== Level 5 heading
Sixth-level heading
======= Level 6 heading

Links to sections

An anchor (the section's identifier on the page) is created automatically for each section of the document. Anchors are used for linking directly to page sections.

By default, the anchor is the name of the section without spaces. For instance, My section will have the anchor mysection. You can manually define the anchor when formatting a section:

====(my-anchor) Section Title

To insert a link to the section, append this anchor to the page address after #:

((http://pageAddress/#my-anchor link text))
How to find out what a section's anchor is

When you hover the mouse over the heading, it displays the § symbol. To get the value of the anchor:

  1. Click the § symbol next to the heading.

  2. Open the browser address bar. The anchor is shown at the end of the address after #.

Hide a section behind a cut

You can collapse certain sections of your document by default:

===+ This heading has a collapsed section behind it

In this case, all the page content up to the end of the section is hidden (in other words, everything that comes before the next header that is on the same level or a higher level).

Lists

  • Numbered list:

    Markup Result
    1. List item.
    2. List item.
      3. Nested list item.
      4. Nested list item.
    1. List item.
    Tip. The order of numbers in the markup does not affect the final list numbering. However, it is easier to work with the source text when the list elements are numbered in order.
  • Bulleted list:

    Markup Result
    * list item
    * list item
      * nested list item
      * nested list item
    * list item
  • Mixed list:

    Markup Result
    1. ordered list item
    2. ordered list item
      * unordered nested list item
      * unordered nested list item
    1. ordered list item

Footnotes

Markup Result
Text with unordered[[*]] footnotes[[**]].

Text with ordered[[*1]] footnotes[[*2]].

[[#*]] Footnote definition.
[[#**]] Footnote definition.
[[#1]] Footnote definition.
[[#2]] Footnote definition.