Basic Markdown Guide

Published on
2 mins read

Headings :

# Heading 1
## Heading 2
### Heading 3
#### Heading 4

Output:

Heading 1

Heading 2

Heading 3

Heading 4


Bold, Italics & Strikethrough :

_Italic Text_

**Bold Text**

~~Strikethrough Text~~

Output :

Italic Text

Bold Text

Strikethrough Text


[Link Name](http://example.com)

Output :

Link Name


Images :

![Image Alt Text](IMAGE_NAME.jpg)

Output :

Image Alt Text

(Note: Since there was no such image present, hence alternate text displayed )


Blockquote :

> This is a Blockquote

Output :

This is a Blockquote


Unordered List :

- list item 1
- list item 2
- list item 3

Output :

  • list item 1
  • list item 2
  • list item 3

Ordered List :

1. item 1
2. item 2
3. item 3

Output :

  1. item 1
  2. item 2
  3. item 3

Tables in Markdown :


| Syntax      | Description |
| ----------- | ----------- |
| R1C1        | R1C2        |
| R2C1        | R2C2        |


Output :

SyntaxDescription
R1C1R1C2
R2C1R2C2

Code block :

Use tripple backticks to create a code block

```
your code goes here
```

you can mention particular language as well so as to get the proper highlighting (wherever supported)

Example -

```javascript
function sayHello() {
    console.log("Hello World!");
}
```