#pragma

Sets processing modes for this page:

#PRAGMA mode arguments

Mode names are not case-sensitive.

MoinMoin knows few pragmas, and you may add more and use them for your own themes or macros. Here are the known pragmas:

1. section-numbers

Switches automatic numbering of section headers.

#pragma section-numbers off

off or 0 disable numbering, on or 1 enables numbering. The default mode is set by the show_section_numbers config option.

When enabling numbering, its possible to use specific heading level:

#pragma section-numbers 2

Only displays section numbers for headings of level 2 and up (similarly for 3 to 6).

2. keywords

adds a <meta> tag with keywords which tells search engines what you can find on the particular page.

#pragma keywords Cars, Vehicles, Foo

3. description

adds a <meta> tag which contains the description of the particular page.

#pragma description This page is about cars.

4. supplementation

is used to enable or disable a supplementation for the current page e.g. a discussion page

#pragma supplementation-page on

off disables the supplementation for the current page. See also HelpOnConfiguration/SupplementationPage for more.