Markdown Cheat Sheet

Markdown Cheat Sheet

Overview

Markdown is a plain text formatting syntax for writers. It allows you to quickly write structured content on the web.

In 2004, an Apple guy John Gruber came up with this idea after some tedious job of writing long and formatted content on the web.

This Markdown cheat sheet provides you with a quick overview of all the markdown syntax elements. Here we cover basic syntax as a reference guide.

Basic Syntax

So, Let's dive in...

Headings

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

Please be watchful for space between # and Heading. You can go up to heading 6 to achieve h6 in HTML by increasing #.

Text

*italic*
**Bold**
***Bold-italic***

Blockquote

>blockquote

Orderd List

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

Unordered List

- First item
- Second item
- Third item

Code Snippet

`code`
& 
three backticks for code snippets or block of code

Horizontal Line

--- (min 3 hyphens for horizontal line)

Link

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

Image

    ![alt text](image.jpg)

Extended Syntax

This is an extended feature of basic syntax. Not all markdown applications support these features.

So, Let's look into this..

Table

| Table Head | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily.

Footnote

Here is a simple footnote[^1].

A footnote can also have multiple lines[^2].  

You can also use words, to fit your writing style more closely[^note].

This code renders to:-

WhatsApp Image 2022-07-23 at 10.36.16 PM.jpeg

Strikethrough

~~The world is flat.~~

renders to:-

WhatsApp Image 2022-07-23 at 10.49.52 PM.jpeg

Highlights

==Highlighted text==

renders to:-

WhatsApp Image 2022-07-23 at 11.00.22 PM.jpeg

So, that's it all for now. These are the most used markdown syntax. there are lots more. you can easily find it here