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.
|First-level heading|| |
|Second-level heading|| |
|Third-level heading|| |
|Fourth-level heading|| |
|Fifth-level heading|| |
|Sixth-level 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:
Click the § symbol next to the heading.
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).
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.
* list item * list item * nested list item * nested list item * list item
1. ordered list item 2. ordered list item * unordered nested list item * unordered nested list item 1. ordered list item