Markup spec/BNF/Special block

Special blocks are things like itemized lists starting with  ; they can only be specified at the start of a line and usually run till the end of the line.

The dots need to be filled in.

History

Heading
A level-n heading is translated to an &lt;hn&gt; element.

The alternatives in the first rule need to be tried from left to right.

Some notes (as implied by the grammar):
 * An unterminated heading tag is treated as normal text.
 * Unbalanced tags are treated as the shorter of the two tags (i.e. ==== heading == renders as the level 2 heading == heading)
 * More than 6 = signs are treated as 6, with the extra symbols being included in the header.

History

Table
From meta...minor reformatting

History