# Markdown Cheat Sheet

# What is Markdown ?

Markdown is the markup language for user content at GitHub and allows users at all skill levels to write plain text documents

*Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is appealing to human readers in its source code form.*

## Basic Markdown Syntax :
- Headings
- Bold
- Italic
- Blockquote
- Ordered List
- Unordered List
- Code
- Horizontal Rules
- Links
- Images
***
# 1.Heading :

- To create a heading, add number signs ( # ) in front of a word or phrase. The number of number signs you use should correspond to the heading level. For example, to create a heading you can use the below syntax

```
# Heading 1
## Heading 2
### Heading 3
..
..
..
..
###### Heading 6
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658694177646/3fnntorG8.png align="left")
***
# 2.Bold :

- To bold text, add two asterisks or underscores before and after a word or phrase. To bold the middle of a word for emphasis, add two asterisks without spaces around the letters.
```
**bold text**
__bold text__
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658695081563/vp08Pb0WB.png align="left")
***
# 3.Italic :

- To italicize text, add one asterisk or underscore before and after a word or phrase. To italicize the middle of a word for emphasis, add one asterisk without spaces around the letters
```
*italicized text*
_italicized text_
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658695495159/Mf088xfL1.png align="left")
***
# 4.Blockquote :

- To create a blockquote, start a line with greater than > followed by an optional space. Blockquotes can be nested, and can also contain other formatting. To keep the quote together, blank lines inside the quote must contain the > character.
```
> blockquote
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658744094247/_unsY9CQF.png align="left")
***
# 5.Ordered List :

- To create an ordered list, add line items with numbers followed by periods. The numbers don't have to be in numerical order, but the list should start with the number one.

```
1. First item
2. Second item
3. Third item
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658744300842/EMyJ0dzGH.png align="left")
***
# 6.Unordered List :

- To create an unordered list, add dashes ( - ), asterisks ( * ), or plus signs ( + ) in front of line items. Indent one or more items to create a nested list.

```
- First item
- Second item
- Third item
```
#### Output
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658747212554/yW-DhETmR.png align="left")
***
# 7.Code :
- There are two ways to format code in Markdown. You can either use inline code, by putting backticks (`) around parts of a line, or you can use a code block, which some renderers will apply syntax highlighting to

```
`code`
```
#### Output
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658747167263/dfdeBPjqx.png align="left")
***
# 8.Horizontal Rule :

- You can create a horizontal rule by placing 3 or more hyphens, asterisks, or underscores on a single line by themselves. You can also place spaces between them.

```
---
***
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658745255492/lSAAElm56.png align="left")
***
# 9.Links :

- Markdown syntax for a hyperlink is square brackets followed by parentheses. The square brackets hold the text, the parentheses hold the link.

```
[LCO](https://web.learncodeonline.in/)
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658747109537/Gulb_JCDt.png align="left")
***
# 10.Image :

- Images can be added to any markdown page using the following markdown syntax

```
![LCO](https://asset-cdn.learnyst.com/assets/schools/2410/resources/images/logo_lco_4dsl6o.png)
```
#### Output 
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1658746898322/fuYE1R9dg.png align="left")
***

