---
# Introduction
Let's begin with a quote of the [Markdown][Markdown] site:
>Markdown is a text-to-HTML conversion tool for web writers.
>Markdown allows you to write using an easy-to-read, easy-to-write
>plain text format, then convert it to structurally valid XHTML
>(or HTML).
This text gives a short overview about the main Markdown features.
For a formal and more precise descritpion have a look at the
[CommonMark][CommonMark] specification
# Markdown Syntax Examples
## Headings
You can use 6 types of headings. All of them are marked with one or more #
characters at the begin of a line.
# Header 1
# Header 1
## Header 2
## Header 2
### Header 3
### Header 3
#### Header 4
#### Header 4
##### Header 5
##### Header 5
###### Header 6
###### Header 6
---
## Paragraphs
This is a simple multi-line paragraph. All text is in one paragraph.
The current paragraph will end when an empty line is found.
After an empty line starts a new paragraph.
---
## Line Breaks
This is a simple one-line text.
We add a second line of text with a soft-break
(2 spaces at the end of the first line)
---
## Bold and Italic Text
**bold** : bold text
__bold__ : bold text
*italic* : italic text
_italic_ : italic text
Now we write **bold** (__bold__) and *italic* (_italic_) in one line.
---
## Quotation
>To be or not to be.
>To be or not to be.
---
## Ordered List
1. first item
2. second item
3. third item
...
Sample:
1. first element of an ordered list
2nd line of the first element
(each above line ends with 2 spaces)
2. second element of an ordered list
3. guess what: third element of an ordered list
1. first element of an ordered list
2nd line of the first element
(each above line ends with 2 spaces)
2. second element of an ordered list
3. guess what: third element of an ordered list
---
## Unordered List
* first item
* second item
* third item
...
Sample:
* first element of an unordered list
* unordered sublist
1. ordered subsublist
* second element of an unordered list
* first element of an unordered list
* unordered sublist
1. ordered subsublist
* second element of an unordered list
---
## Automatic Link
You can insert links directly in angle brackets to your text:
The output in HTML will be similar to the following:
https://www.google.com/
The output in HTML will be similar to the following:
info@acme.com
## Link
[title](link)
Sample:
[German Wikipedia](de.wikipedia.org)
Link: [German Wikipedia](de.wikipedia.org).
---
## Link Reference
[title][reference]
[reference]: link
Sample:
[German Wikipedia][German_Wikipedia]
[German_Wikipedia]: de.wikipedia.org
Link reference: [German Wikipedia][German_Wikipedia]
[German_Wikipedia]: de.wikipedia.org
---
### Anchors
Take me to [Text](#text)
Here comes the desired text
Take me to [top of document](#top)
Take me to [bottom of document](#bottom)
---
## Add an Image as Link

Sample:

Image:

---
## Add an Image as Reference
![title][reference]
[reference]: link
Sample:
![GIYF][GIYF_reference]
[GIYF_reference]: http://www.giyf.com/gfx/en/simpsons_board.gif
Image:
![GIYF][GIYF_reference]
[GIYF_reference]: http://www.giyf.com/gfx/en/simpsons_board.gif
---
## Code
You can write code blocks by starting a line with 4 spaces:
To mark a text as code (= print as is) you can use the backtick quotes:
Use the `