Markdown cheat sheet

Today, we are going to read about Markdown and I am going to create a Markdown Cheat Sheet.

What is Markdown?

Should we need to know about Markdown?

Where to use Markdown?

You will learn the Markdown’s major commands that will help you create an GitHub README file.

Markdown for headings

- # heading1
- ## heading2
- ### heading3
- #### heading4
- ##### heading5

OUTPUT will be:

  • heading 1

  • heading 2

  • heading 3

  • heading 4

  • heading 5

How to create bold text.

There are two ways to create bold text.

1. **bold**

2. __bold__

The output will be

bold

bold

Also, there are two ways to create Italic text.

You are using two Asterisk(**) and two underscore(__) sign to make text bold. But now, for italic you will have to use single signs on both side.

*Italic*
_Italic_

Output will be

Italic

Italic

Now, let's move ahead.

Many of you people have seen on ecommerce websites there is a line over the price during the sale. So, for that you have to encapsulate the text or anything inside the

      ~~23~~

Ordered List

To create order list just use:

   1. one

   2. two

       1. one

Output will be

  1. one

  2. two

    1. one

Unordered list

To create unorder list

- one
- two
- three

Output is going to be:

  • one
  • two
  • three

How to create a link using Markdown

[Home](https://google.com)

1. Home is the text which will render and when user click on the Home he will move to
 google.com..

Output going to be:

Home

How to insert image using Markdown

The syntax will going to be:

![image](https://static.xx.fbcdn.net/rsrc.php/y8/r/dF5SId3UHWd.svg)

Output will be:

image

You can also create a code editor using this sign

```
for(let i=0;i<2;i++>){
  console.log(i);
}
```

Output will be:

for(let i=0;i<2;i++>){
    console.log(i);
}

If you want to mark things like this use below syntax:

`this`

Output will be:

this

You can also create the table using Markdown. You below syntax to create table.

  | Syntax | Description |
  | - | - |
  | Header | Title |
  | Paragraph | Text |

The output is going to be

SyntaxDescription
HeaderTitle
ParagraphText

These are the list of commands that we have read above:

NumberDescriptionSyntax
1Create Heading# heading1
2Create Heading## heading2
3Create Heading### heading3
4Create Heading#### heading4
5Create Heading##### heading5
6Create text bold**bold** __bold__
7Create text italic*Italic* _Italic_
8Create line over text~~123~~
9Order list1. order list
10Unorder list- unorder list
11Create link[Home](https://google.com)
12Add image![image](https://static.xx.fbcdn.net/rsrc.php/y8/r/dF5SId3UHWd.svg)

These are the some basic syntax of the markdown to create the readme file for GitHub.