# Cheat Sheet For Markdown

## **What is Markdown?**

Markdown is a markup language just like HTML. We use it to parse text and convert it into a specific format. You can also think of it as a text to HTML converter tool.

**Markdown File Have an Extension of .md**

## **Headings**

```
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

```

Output 

># Heading 1
>## Heading 2
>### Heading 3
>#### Heading 4
>##### Heading 5
>###### Heading 6

---
## **Text Styles**

```
**I am Bold**
OR
__I am Bold__
```

Output 

>**I'm Bold**
OR
__I'm Bold__

```
*I am Italic*
OR
_I am Italic_
```

Output 

>*I'm Italic*
OR
_I'm Italic_

```
~~Strikethrough~~
```
Output 

><s>Strikethrough</s>

```
I am ==highlighted text==
```
Output 
>I am <mark>highlighted text==</mark>

```
This text contains^superscript text
```
Output 
> This text contains <sup>superscript</sup> text

```
This text contains~Subscript~text
```
Output 
> This text contains <sub>Subscript</sub> text

---

## Lists

```
Ordered List

1. item1
2. item2

Unordered List

- item1
- item2

```

Ouput

>Ordered List
>
>1. item1
>2. item2
>
>Unordered List
>
>- item1
>- item2

---

## Code

```
`print("Hello Markdown!")`

```

Ouput

> print("Hello Markdown!")

---

## Image

```
![alt text](https://learncodeonline.in/mascot.png)
```

Output

> ![alt text](https://learncodeonline.in/mascot.png)

---

## Link

```
[Link](https://www.google.com)
```

Output

> [Link](https://www.google.com)

---

That's all for the basics Markdown Syntax. Thanks a lot for reading my article.


