Post

CheatSheet for Markdown

Markdown CheatSheet

1. Typography:

1
2
3
4
5
6
7
# H1
## H2
###### H6

*italics* or _italics_
**bold**
~~strike~~

2. URL & Lists:

1
2
3
4
5
6
7
[Click Me](example.com "tooltip here")

1. Ordered Item 1
1. Ordered Item 2

* Unordered Item 1
  * Unordered Item 2

List Example:

Click Me

  1. Ordered Item 1
  2. Ordered Item 2
  • unordered list item 1
    • unordered list item 2

3. Code & Syntax Highlighting

1
2
3
4
5
6
` Inline Code Block `

``` Basic Code Block ```

```bash
echo ('Codeblock with Syntax Highlighting')

Codeblock Example:

echo ('Inline Codeblock')

echo('Basic Codeblock ')

1
echo ('Codeblock with Syntax Highlighting')

4. Table

1
2
3
4
5
6
7
8
9
| Heading | Description | Example |
|   -     |      -      |    -    |
| Table   | Desc        |    Eg   |

for alignment,

| Heading | Description | Example |
| :---    |   :---:     |   ---:  |
| Left    |   Center    | Right   |

Table Example:

Heading Description Example
Table Desc Eg
Heading Description Example
Left Center Right

5. Others

1
2
Horizontal Line:  --- or ___
> Blockquote here

Example:

Blockquote here

This post is licensed under CC BY 4.0 by the author.