Ward's Wiki Renderer
This renderer is based on the markup of the original Wiki.
Paragraphs
- Do not indent paragraphs.
- Words wrap to window width and fill as needed. (Emphasis fails to work if you insert end of line by hand!)
- Use blank lines as separators.
Horizontal Lines
- Four or more hyphens (----) at the beginning of a line make a horizontal rule.
Lists
- asterisk in column one for bullet item
- up to four asterisks for deeper indenting
- old format using tabs and numbered lists is not supported.
Fonts
- Indent with one or more spaces to use a monospace font:
This is text in a monospaced font.
This is indented with three spaces.
This is not.
You can generate vertical whitespace by using multiple newlines after a monospaced line, but doing so to create more than one blank line is discouraged.
Indented Paragraphs
(Quotes)
- tab space colon tab -- often used (with emphasis) for quotations.
Emphasis
- Use doubled single-quotes for emphasis (usually italics)
- Use tripled single-quotes for strong emphasis (usually bold)
- Use five single-quotes, or triples within doubles, for some other kind of emphasis (Bold Italic)
- Emphasis can be used multiple times within a line, but cannot span across line boundaries
Links
Apart from usual links, the renderer supports the following:
- Separate suffixes (like 's') from WikiNames.
- URLs ending with .gif, .jpg, .jpeg, .jpe or .png are inlined.
Tables
The original Wiki does not support tables but it was actually simpler to include table support with this renderer than to exclude it.
Any number of lines of text. Each line is one row of the table consisting of one or more cells.
Each cell starts and ends with a vertical bar '|'. Any spaces at the beginning of a line are ignored.
Not Supported
- The use of Six Single Quotes to avoid making links to wiki pages is not supported
- Definitions