# Vanila Markup Language

You don’t need anything fancy to produce beautiful documents in Vanila.

##Text markup

Test surrounded by:
** ***: rendered as bold.
* ”: rendered as italic
* **: rendered as underlined

***’This””” ”is” ””a”” ””””””test”””’***.

is rendered as:

***’This””” ”is” ””a”” ””””””test”””’***.

##Block Quotes

Consecutive lines beginning with whitespace are grouped together as a blockquote.

This is a

blockquote

Note that the blank lines above have

blank whitespace so that they end up

inside the blockquote.

Renders as:

This is a

blockquote

Note that the blank lines above

have blank whitespace so that they end up

inside the blockquote.

Headlines are used to divide a document into sections. Headlines in Vanila are defined by beginning lines with 3 or more asteriks. the more asteriks, the higher the level of headling.

###Examples

##Level 1
###Level 2
####Level 3
####Level 4

Renders as:
##Level 1
###Level 2
####Level 3
####Level 4

##Lists

* Bulleted lists are specified by a group of lines beginning with ‘-‘
* Number lists are specified by a group of lines beginning with ‘#’
* Definition lists are specified by a group of lines beginning with ‘?’. A ‘:’ separates the term from the definition.
* Lists are nested by indenting the ‘-‘ or ‘#’ by multiples of 2 spaces (once for each nest level).

###Examples
####Bulleted List

* This
* Is
* A
* List

Renders as:
* This
* Is
* A
* List

####Ordered List

# One
# Two
# Three
# Four

Renders as:
# One
# Two
# Three
# Four

####Definition List

? One : Definition of One
? Two : Definition of Two

Renders as:
? One : Definition of One
? Two : Definition of Two

####Mixing and Matching

* Bullet 1
* Bullet 2
# number 1
# number 2
? One : Definition of One
? Two : Definition of Two
# number 3
* Bullet 3

Renders as:
* Bullet 1
* Bullet 2
# number 1
# number 2
? One : Definition of One
? Two : Definition of Two
# number 3
* Bullet 3

##Tables

Tables are described by lines starting with ‘|’. Each ‘|’ represents the beginning of a new cell in the table. Optionally, immediately after the ‘|’:
** **h* means that the cell is a header
** **c followed by a number* means that the cell spans that many columns
** **r followed by a number* means that the cellspans that many rows

Leading and trailing spaces in each of the cells is ignored, so that you can use this space to help align the columns visually in the text.

###Example

|h This |hc3 Is
|r2 A | Test of | the |r2 Emergency

Renders as:
|h This |hc3 Is
|r2 A | Test of | the |r2 Emergency

##Cross References

* Enclose text in quotation marks
* Enclose text in double [ brackets

###Example

[[Vanila Markup Language]] is a cross reference to [[Vanila Markup Language]],
and [[Example Forward Reference]] makes a link to an undefined page.

Renders as:

[[Vanila Markup Language]] is a cross reference to [[Vanila Markup Language]], and [[Example Forward Reference]] makes a link to an undefined page (please don’t define this page so that the above reference makes sense). Note that if you are not logged in as a member, the forward cross reference example will appear as plain text.

###Special Cross References

Certain document types have special cross reference handling. Using the above syntax with a reference to a Picture document includes the picture in the page. A cross reference to a Shortcut inserts a reference to the URL specified in the shortcut.

For instance, typing:

[[Apple]] [[mac]]

Inserts:

[[Apple]] [[mac]]

##Horizontal Lines

Horizontal lines are made a line of three ‘-‘ by themselves.

###Example

This is a horizontal rule
*–

Renders as:

This is a horizontal rule
*–

##Verbatim text
Text that is surrounded by: