Markdown

Inline

Phrase Emphasis

*italic*   **bold**
_italic_   __bold__

Links

An [example](http://url.com/ "Title")
or
An [example][id]. Then, anywhere else in the doc, define the link:

  [id]: http://example.com/  "Title"

Images

Inline (titles are optional):

![alt text](/path/img.jpg "Title")

Reference-style:

![alt text][id]

[id]: /url/to/img.jpg "Title"

Manual Line Breaks

End a line with two or more spaces:

Roses are red,   
Violets are blue.

Block

Headers

Setext-style:

Header 1
========

Header 2
--------

atx-style (closing #'s are optional):

# Header 1 #

## Header 2 ##

###### Header 6

Lists

Ordered, without paragraphs:

1.  Foo
2.  Bar

Unordered, with paragraphs:

*   A list item.

    With multiple paragraphs.

*   Bar

You can nest them:

*   Abacus
    * answer
*   Bubbles
    1.  bunk
    2.  bupkis
        * BELITTLER
    3. burper
*   Cunning

Blockquotes

> Email-style angle brackets
> are used for blockquotes.

> > And, they can be nested.

> #### Headers in blockquotes
> 
> * You can quote a list.
> * Etc.

Horizontal Rules

Three or more dashes or asterisks:

---
* * *
- - - - 

Code

Code Spans

`<code>` spans are delimited
by backticks.

You can include literal backticks
like `` `this` ``.

Preformatted Code Blocks

Indent every line of a code block by at least 4 spaces or 1 tab.

This is a normal paragraph.

    This is a preformatted
    code block.

StackExchange

See the official help and the allowed HTML elements and classes.

Comments

Syntax Highlighting

<!-- language: lang-or-tag-here -->

Supportet Languages

Spoiler

Spoilers have the same text color as background color, but can be revealed by hovering over them (or selecting the text).

>! Spoiler text

Tags

meta-tag syntax is only available on per-site metas. tag works everywhere.

[tag:tag-name] and [meta-tag:tag-name]


Made by toscho