Wiki Markup

This site uses a PHP PEAR wiki parser implementation of the Mediawiki markup. The supported markup elements are presented in the following tables.

Text Markup

Result Wiki text
italic ''italic''
bold '''bold'''
bold and italic '''''bold and italic'''''
teletype text <tt>teletype text</tt>
source code
<code>source code</code>
  Leading spaces indicate
  preformatted    regions
        Leading spaces indicate
        preformatted    regions
<!-- Invisible wiki comments -->
Force line
break
Force line<br />break
'''nowiki''' tags disable markup parsing <nowiki>'''nowiki'''</nowiki> tags disable markup parsing

Link Markup

Result Wiki text
Wiki Markup [[Wiki Markup]]
Markup-Page (custom title) [[Wiki Markup| Markup-Page (custom title)]]
http://meta.wikimedia.org/wiki/Cheatsheet http://meta.wikimedia.org/wiki/Cheatsheet
Cheatsheet [http://meta.wikimedia.org/wiki/Cheatsheet| Cheatsheet]

Section Markup

Result Wiki text

Heading0

==Heading0==

Heading1

===Heading1===

Heading2

====Heading2====
Heading3
=====Heading3=====

(Horizontal Separator)

----
(Horizontal Separator)
  • First
  • Next
    • Nested
  • Last
* First

* Next
** Nested
* Last

  1. One
  2. Two
    1. Nested
  3. Three
# One

# Two
## Nested
# Three

Term1
Definition
Term2
Multiline
definition
; Term1 : Definition

; Term2
: Multiline
: definition

Table markup

Tables can have captions, headers and cells. Also, tables can be rendered in different styles. Available table style classes are: wikitable. Tables start with {| and end with |}. Captions are separated with |+ and rows are separated with |-. Cells are sepearted by either a newline and single bar | or within a line with double bar ||. Header cells use newline and ! or !! as bars in a similar manner.

Multiplication table
* 1 2 3 4 5
2 2 4 6 8 10
3 3 6 9 12 15
4 4 8 12 16 20

{| class="wikitable"
|+Multiplication table
|-
! * !! 1 !! 2 !! 3 !! 4 !! 5
|-
! 2
| 2 || 4 || 6 || 8 || 10
|-
! 3
| 3 || 6 || 9 || 12 || 15
|-
! 4
| 4 || 8 || 12 || 16 || 20
|}

Occasionally, the table parser seems to get confused at cell start, an empty nowiki tag at cell start can be used as workaround like this: ||<nowiki></nowiki>Complex Markup Here