The numbered headings plugin provides the numberedheadings macro, which makes it possible to number the headings on a page. The following numbered headings are created with the macro. These headings must start at level one.
The markup is:
{numberedheadings} h1. First h2. Second h3. Third h1. Fourth, back to level one {numberedheadings}
The following parameters are available, used in the format {numberedheadings:parameter=value}.
- number-format= any of the formats that follow:
- decimal (default) - 1, 2, 3, 4, etc.
- full-decimal - one, two, three, four, etc.
- lower-latin - a, b, c, d, etc.
- lower-roman - i, ii, iii, iv, etc.
- lower-greek - ?, ?, ?, ?, etc.
- upper-latin - A, B, C, D, etc.
- upper-roman - I, II, III, IV, etc.
- upper-greek - ?, ?, ?, ?, etc.
- custom - refer to the documentation
- start-numbering-at= the desired heading level
- start-numbering-with= the desired integer
To embed the page title at level one and use the numberedheadings macro, use the toc-zone macro. The general form is:
{toc-zone:type:=[list,flat]|maxLevel=1} Content in the zone, including other macros and page content. {toc-zone}
The zone starts after the embedded page title.