Markdown Cheat Sheet

Prajwal KumarPrajwal Kumar
1 min read

This is a quick reference to the Markdown syntax.

Basic Syntax

Heading

  1. #H1
  2. ##H2
  3. ###H3
  4. ####H4
  5. #####H5
  6. ######H6

Bold

**bold text**


Italic

*italicized text*


Blockquote

> blockquote


Ordered List

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

Unordered List

- First item
- Second item
- Third item

Code

enclose within a pair of single backtick

`code`

Horizontal Rule

i.e hyphen 3 times

---

[title](https://www.example.com)

Image

![alt text](image.jpg)

Extended Syntax

Table

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

Fenced Code Block

Instead of single backtick use 3 backticks to enclose

---
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
---
here in example hyphen is used please replace with backticks

Strikethrough

~~The world is flat.~~
The world is flat.


0
Subscribe to my newsletter

Read articles from Prajwal Kumar directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Prajwal Kumar
Prajwal Kumar

I am a web developer, tech enthusiast and also write blogs on JavaScript and related tech-stack.