blob: 7ace7ed9214da4c6d52b27a72b76935695cf75a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
## Section Headings
You can create headings by starting and ending a line with up to five equal signs. The heading text is between those markers, separated by a single space.
Headings can be automatically numbered, you can enable or disable this for each page (see `#pragma section-numbers` on [[HelpOnProcessingInstructions|HelpOnProcessingInstructions]]) and for the whole site (see `show_section_numbers` on [[HelpOnConfiguration|HelpOnConfiguration]]).
For more information on the possible markup, see [[HelpOnEditing|HelpOnEditing]].
### Example
[[!format txt """
= Heading =
== Subheading ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
"""]]
### Display
* = Heading = == Subheading == === Level 3 === ==== Level 4 ==== ===== Level 5 =====
Note that proper section numbering requires you to order sections according to a valid structure, i.e. correctly nested. Our sample doesn't do this, so you get a different numbering scheme than you might expect.
|