User:Webrobate/Wiki markup language

What does wikimarkup actually do? It instructs an engine to generate a document encoded in HTML. But which wikimarkup code generates which bit of HTML code? In other words, how does wikimarkup map onto HTML?

Paragraphs
WML: One or more contiguous lines of text (separated by a single line-break) that do not begin with a colon, semicolon, blank, (etc?).

HTML: The line-breaks replaced by blanks, the whole text enclosed in a "p" tag.

Display: A paragraph - a single line of text which wraps.

Note: A trailing blank on a line of text is dropped in the HTML.

Note: A double-line-break may split the text into separate adjacent "p" tags.

Italic
Experiment:

Conclusions:

A double-apostrophe wiki-markup opens a new "i" tag, or closes an already opened "i" tag, in the generated HTML.

An end-line wiki-markup closes an open "i" tag in the generated HTML.

Bold
bold text

bold text

bold text

Indent


indented text


 * text text text

Dot point
* dot point text

dot point text


 * dot point text

Tables
{| class="wikitable" ! style="width: 33%" | Wiki markup code ! style="width: 33%" | HTML code generated ! style="width: 33%" | What it looks like






 * }