HelpOnHeadings - Atlas of Economic Models
 

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.

For more information on the possible markup, see HelpOnEditing.

  • /!\ Headings may not contain wiki markup.

    /!\ You cannot indent headings.

1. Example

= Heading =
== Subheading ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====

Displays as:

Heading

Subheading

Level 3

Level 4

Level 5

NB Take care not to leave any whitespace after the second set of =, or else the heading will not dispay properly

2. Another example

There can also be multiple layers of headlines:

= Heading =
== Subheading 1 ==
=== Level 3 ===
== Subheading 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
== Subheading 3 ==
=== Level 3 ===
==== Level 4 ====

Displays as:

Heading

Subheading 1

Level 3

Subheading 2

Level 3

Level 4

Level 5

Subheading 3

Level 3

Level 4

3. Numbered headings

Headings can be automatically numbered, you can enable or disable this for each page (see #pragma section-numbers on HelpOnProcessingInstructions) and for the whole site (see show_section_numbers on HelpOnConfiguration).

This function is disabled for the AtlasModelTemplate, but can be enabled by inserting #pragma section-numbers on at the very top of the page.

NB Proper section numbering requires you to order sections according to a valid structure, i.e. correctly nested. If they are not you get a different numbering scheme than you might expect.