Markdown is a lightweight markup language for creating formatted text using a plain-text editor.
This Article for Markdown cheat sheet provides a quick overview of all the Markdown syntax elements
The purpose of Markdown-formatted text is to make the document as readable as possible.
Markdown is platform independent. You can create Markdown-formatted text on any device running any operating system.
Markdown file is created with '.md' extension
There are many elements in Markdown, some of the basic syntax are listed below
1. Headers
This element is used to create headings,Hash(#) is used to define this
Syntax:
# H1
## H2
### H3
#### H4
##### H5
###### H6
Output for the above commands will be as below
H1
H2
H3
H4
H5
H6
2. Bold
Used to make text bold with
** **
Syntax:
**Bold Text**
Output: Bold Text
3. Italic
Used to make text in italic style with
* *
Syntax:
*Italicized Text*
Output: Italicized Text
4. Blockquote
The text entered in blockquote will be displayed in block, it is refered with
>
Syntax:
`>Hi all, welcome to this page`
the above line will be displayed in a block like below
Hi all, welcome to this page
5. Orderlist
Syntax:
1. First item
2.Second item
Output:
- First item
- Second item
6. Unorderedlist
Syntax:
-First item
-Second item
Output:
- First item
- Second item
7. Link
Syntax:
[title](https://www.example.com)
Output: title
8. Image
Syntax:

Output:
9. Strike
is used to strike the text using
~~ ~~
Syntax:
~~this line will be striked~~
10. Table
Syntax:
| Head1|Head2 |Head3|
|---|---|---|
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
Output of above commands:
Head1 | Head2 | Head3 |
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |