- Headers
- Bold, Italic and Strikethrough
- Lists
- Ordered Lists
- Unordered Lists
- Links
- Images
- Image Size
- Codeblocks and Inline Code
- Tables
- Blockquotes
- Inline HTML
- Horizonatl Rule
- Table of Contents
- E-Mail Addresses
- Anchors
This is my little markdown cheatsheet to look if I ever forget a syntax string.
To create headers just use #
:
# h1
## h2
### h3
#### h4
##### h5
###### h6
If you want a header with a unterline use =
or -
:
Header
======
Header
------
Bold Text can be written with **
:
**Bold Text**
Italic text can be written with *
:
*Italic Text*
Strikethrough Text can be written with ~~
:
~~Strikethrough Text~~
Ordered Lists start with numbers:
1. List 1
2. List 2
3. List 3
* List 3.x
4. List 4
- List 1
- List 2
- List 3
- List 3.x
- List 4
Unordered lists start with *
, -
or +
:
* unoredered 1
- unoredered 2
+ unoredered 3
- unoredered 1
- unoredered 2
- unoredered 3
You can use an inline link:
[Link-Text](http://link-url/)
Or you can use URLs directly:
https://google.de/
Inline images:
![alt_text](path/to/picture or /link/to/picture/)
Reference Images:
![alt_text][bla]
[bla](path/to/picture or /link/to/picture/)
You can also insert images with defined sizes:
![](./wwe_markdown.png =100x20)
Or just without height:
![](./wwe_markdown.png =250x)
Codeblocks ban be used with 4 spaces or 3 backticks:
4 spaces for code
```
backticks for code
```
Inline code is written with backticks:
```inlinde code```
Codeblock
Or Inline Code
.
Tables are written with pipes and dashes:
| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| Just | insert | dahses |
| And | also | new lines |
Column 1 | Column 2 | Column 3 |
---|---|---|
Just | insert | dahses |
And | also | new lines |
Blockquotes can be inserted with >
:
> Blockquote
> Multiline
> Blockquote
Blockquote
Multiline
Blockquote
You can use almost every HTML tag in markdown without a problem. Just play with it.
Can be inserted on multiple ways. With 3 underscores, 3 stars or 3 hyphens:
---
***
___
You can also use a table of contents:
# Table of Contents
1. [Example](#example)
2. [Example2](#example2)
3. [Third Example](#third-example)
## Example
## Example2
## Third Example
E-Mail addresses can be simply added:
Anchors can be set like this:
* [foobar](?#id1)
###<a id="id1"></a>
## FooBar Heading
It works also for table of contents then or even for other pages depending on your used system.