Markdown Cheatsheet

โณ 3 min read

๐Ÿ”  385 words

Markdown Cheatsheet

This Markdown cheatsheet covers essential syntax for text formatting, headings, lists, links, images, code blocks, and tables



# Headings

Headings are used to organize and structure text. Markdown supports six levels of headings, from H1 to H6.

# H1 (Largest)

## H2

### H3

#### H4

##### H5

###### H6 (Smallest)

# Emphasis

To add emphasis to your text, you can use bold, italic, or strikethrough formatting.

**bold**
_italic_
~~strikethrough~~

# Lists

Markdown supports both ordered and unordered lists. To create an ordered list, use numbers, and to create an unordered list, use asterisks, pluses, or hyphens.

# Ordered List

1. Item 1
2. Item 2
3. Item 3

# Unordered List

- Item 1
- Item 2
- Item 3

Links allow you to include hyperlinks in your text. To create a link, use the following syntax:

[Link text](URL)

# Images

Markdown also supports the inclusion of images. To add an image, use the following syntax:

![Image Alt](URL)

# Code Blocks

If you need to include code in your text, Markdown supports code blocks and inline code. To create a code block, use three backticks (`) before and after your code. To create inline code, use a single backtick (`) before and after your code.

# SingleLine Code
 `console.log("Follow me")`

# Multiline Code
    ```javascript

    function printer(text) {
	    console.log(text);
    }

    printer("AcidOP on top")
    /```

Blockquotes

To create a blockquote, use the greater than symbol (>) before your text.

> Quote here

Horizontal Rules

To create a horizontal rule, use three hyphens (---), asterisks (***), or underscores (___).

---
# Or
---

# Or

---

Tables

Markdown also supports the creation of tables. To create a table, use the following syntax:

| Column 1        | Column 2        | Column 3        |
| --------------- | --------------- | --------------- |
| Row 1, Column 1 | Row 1, Column 2 | Row 1, Column 3 |
| Row 2, Column 1 | Row 2, Column 2 | Row 2, Column 3 |

# Conclusion

That's it! With this Markdown cheatsheet, you now have all the tools you need to format and style your text. Whether you're writing a blog post, a readme file, or just taking notes, Markdown is a great choice. Start using it today and see how much easier it makes your life!