h1(#markdown). Markdown
This wiki's pages are written in "pandoc":http://pandoc.org's extended form of "markdown":http://daringfireball.net/projects/markdown. If you're not familiar with markdown, you should start by looking at the "markdown "basics" page":http://daringfireball.net/projects/markdown/basics and the "markdown syntax description":http://daringfireball.net/projects/markdown/syntax. Consult the "pandoc User's Guide":http://pandoc.org/README.html for information about pandoc's syntax for footnotes, tables, description lists, and other elements not present in standard markdown.
Markdown is pretty intuitive, since it is based on email conventions. Here are some examples to get you started:
@*emphasized text*@
|
_emphasized text_
|
@**strong emphasis**@
|
*strong emphasis*
|
@`literal text`@
|
@literal text@
|
@\*escaped special characters\*@
|
*escaped special characters*
|
@[external link](http://google.com)@
|
"external link":http://google.com
|
@![folder](/img/icons/folder.png)@
|
!/img/icons/folder.png(folder)!
|
Wikilink: @[Front Page]()@
|
Wikilink: "Front Page":
|
@H~2~O@
|
H[~2~]O
|
@10^100^@
|
10[^100^]
|
@~~strikeout~~@
|
-strikeout-
|
@$x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}$@
|
x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}[1]
|
@A simple footnote.^[Or is it so simple?]@
|
A simple footnote.[2]
|
> an indented paragraph,
> usually used for quotations
|
bq. an indented paragraph, usually used for quotations
|
#!/bin/sh -e
# code, indented four spaces
echo "Hello world"
|
bc. #!/bin/sh -e
# code, indented four spaces
echo "Hello world"
|
* a bulleted list
* second item
- sublist
- and more
* back to main list
1. this item has an ordered
2. sublist
a) you can also use letters
b) another item
|
- a bulleted list
- second item
- back to main list
- this item has an ordered
- sublist
- you can also use letters
- another item
|
Fruit Quantity
-------- -----------
apples 30,200
oranges 1,998
pears 42
Table: Our fruit inventory
|
Our fruit inventory
apples |
30,200 |
oranges |
1,998 |
pears |
42 |
|
For headings, prefix a line with one or more @#@ signs: one for a major heading, two for a subheading, three for a subsubheading. Be sure to leave space before and after the heading.