A brief on the basics of Markdown (.md)

A brief on the basics of Markdown (.md)

ยท

2 min read

What is Markdown?

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. you can use markdown to write Github Readme.md , technical documentation, and many more...

Basic Syntax used in MD

๐Ÿ‘‰ Heading

  # 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

๐Ÿ‘‰ Italic

*Italic text*

Output :

Italic text

๐Ÿ‘‰ BOLD

*** Bold ***

Output :

Bold

๐Ÿ‘‰ List

  • Ordered List

>  1. First item
   2. Second item
   3. Third item

Output :

  1. First item
    1. Second item
    2. Third item
  • Unordered List

> - First item
- Second item
- Third item

Output :

  • First item
  • Second item
  • Third item

๐Ÿ‘‰ Code

` Code `

Output :

Code

๐Ÿ‘‰ Horizontal Line

---

Output :


๐Ÿ‘‰ Links

[Click Here](HTTP://www.google.co.in)

Output :

Click Here

๐Ÿ‘‰ Image

![image](./image.jpg)

Or

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

Output :

image

๐Ÿ‘‰ Strikethrough

<s>Hey there</s>

Output :

Hey there

๐Ÿ‘‰ Highlight

Highlight the <mark> important </mark> one.

Output :

Highlight the important one.

๐Ÿ‘‰ Subscript

h<sub>2</sub>0

Output :

h20

๐Ÿ‘‰ Superscript

X<sup>2</sup>

Output :

X2