Habitat Wiki Markup Test Page

1. Basic markup rules
2. Links
3. Headings
4. Lists
5. Images
6. Tables

1. Basic markup rules

Input Display as
''italic'' italic
'''bold''' bold
'''''bold-italic''''' bold-italic
<u>underline</u> underline
monospaced text monospace text
preformatted text
preformatted text
<nowiki>''disable all wiki formats''</nowiki> ''disable all wiki formats''

2. Links

Input Display as
[[Link to a Wikipage]] Link to a Wikipage
[[Underlines_Equal_Spaces]] Underlines Equal Spaces
[[Link | Link Caption]] Link Caption
[[Master/Subpage/Subsubpage]] Master/Subpage/Subsubpage
[[Master/Subpage/Subsubpage | Multi-level page]] Multi-level page
http://example.of.a.url.com/ http://example.of.a.url.com/
[http://example.com/ URL Text] URL Text
[http:?Home Link to this wiki script] Link to this wiki script
[http:?Home#Anchor Link with an anchor] Link with an anchor
[Local:Home Link to a local page] Link to a local page
[http:/cgi-bin/index.cgi?Home Link from server root] Link from server root
[http:/images/habitat_logo.png http:/images/habitat_icon.png]
Local:LocalPage Local:LocalPage
Local:LocalPage#Anchor Local:LocalPage#Anchor
[#Anchor] Click to jump here

3. Headings

input:
= Heading 1 =
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
===== Heading 5 =====
====== Heading 6 ======
Display as:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

4. Lists

input:
* Bullet Item 1
* Bullet Item 2
** Bullet Item 2.1
** Bullet Item 2.2
*** Bullet Item 2.2.1
Display as:
  • Bullet Item 1
  • Bullet Item 2
    • Bullet Item 2.1
    • Bullet Item 2.2
      • Bullet Item 2.2.1

input:
# Numbered Item 1
# Numbered Item 2
## Numbered Item 2.1
## Numbered Item 2.2
### Numbered Item 2.2.1
Display as:
  1. Numbered Item 1
  2. Numbered Item 2
    1. Numbered Item 2.1
    2. Numbered Item 2.2
      1. Numbered Item 2.2.1


input:
:indentaton 
::more indentaton 
Display as:
indentaton
more indentaton


input:
;'''define a word''': the detailed definition of a word
;;'''define a sub item''': the detailed definition of the sub item
Display as:
define a word
the detailed definition of a word
define a sub item
the detailed definition of the sub item


input (of course, they are the same):
 struct Complex_{
     float x;
     float y;
 }; // code segment
Display as:
 struct Complex_{
     float x;
     float y;
 }; // code segment

5. Images

input:
http:/images/habitat_logo.png

display as:

6. Tables

input:
!! Table Header !! Column 2 !! Column 3 !!
|| link || [http:?Home Home] || '''link to home page''' ||
||  || show empty cells || ||
|||| more than one cells  || <- a wider cell ||
||a wider cell ->|||| more than one cells  ||
||__vertical span || <- cell spans two rows || ||
|| one more cell || and another ||
Display as:
Table Header Column 2 Column 3
link Home link to home page
show empty cells
more than one cells <- a wider cell
a wider cell -> more than one cells
vertical span <- cell spans two rows
one more cell and another