NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar:icons=false}

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.

{numberedheadings}
h1. First
h2. Second
h3. Third
h1. Fourth, back to level one
{numberedheadings}

The markup is:
{code}
{numberedheadings}
h1. First
h2. Second
h3. Third
h1. Fourth, back to level one
{numberedheadings}
{code}

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|https://studio.plugins.atlassian.com/wiki/display/NUMHEAD/Numbered+Headings#NumberedHeadings-customformatparameters]
* start-numbering-at= the desired heading level
* start-numbering-with= the desired integer

{scrollbar:icons=false}