Cheat Sheet on Markdown

Cheat Sheet on Markdown

1. Heading - Markdown Syntax:

# Heading 1
## Heading 2
### Heading 3

Output:

Heading 1

Heading 2

Heading 3


2. Bold - Markdown Syntax:

**Bold**
or
__Bold__

Output:

Bold


3. Italic - Markdown Syntax:

*Italic*
or
_Italic_

Output:

Italic


4. Strikethrough - Markdown Syntax:

~~999~~ 699

Output:

999 699


5. Paragraph - Simply start writing, there is no syntax for paragraph.

Paragraph

Output:

Paragraph


6. Line Break - Markdown Syntax:

A
***
B

Output:

A


B


7. Ordered List - Markdown Syntax:

1. One
2. Two
3. Three
or
1. One
1. Two
1. Three

Output:

  1. One

  2. Two

  3. Three


8. Unordered List - Markdown Syntax:

- One
- Two

Output:

  • One

  • Two


9. Sub list or inside list - Markdown Syntax:

1. One
2. Two
3. Three
    1. One
    2. Two

Output:

  1. One

  2. Two

  3. Three

    1. One

    2. Two

Note- Press enter and then tab after three. Same can be done with unordered list.


10. Link - Markdown Syntax:

[Home](https://google.com "Google")
<!-- Home is frontend value, url is the link where it directs, "Google" will pop up when we hover over Home, (we can skip the "Google" part) -->

Output:

Home


11. Image - Markdown Syntax:

![Mascot](https://learncodeonline.in/mascot.png)

Output:

Mascot


12. Code - Markdown Syntax:

```
for()
```

13. Keyword - Markdown Syntax:

`let`

Output:

let


14. Image (from local storage) - Markdown Syntax:

![IMAGE](Rectangle.png)

15. Block quote - Markdown Syntax:

> Hello world, this is markdown cheatsheet.

Output:

Hello world, this is markdown cheatsheet.


16. Table - Markdown Syntax:

|Place|Underground water level (feet)|
|---|---|
|A|50|
|B|100|
|C|dry|
|D|dry|

Output:

PlaceUnderground water level (feet)
A50
B100
Cdry
Ddry