The only markdown cheatsheet you will need
Zeeshan
Posted on February 10, 2023
Markdown is a lightweight markup language that is widely used for formatting and styling text. It is simple to learn and easy to use, making it a popular choice for creating content for the web. Whether you are a blogger, a content creator, or just someone who wants to format text quickly, Markdown is an excellent choice. In this blog post, we will provide you with the only Markdown cheatsheet you will ever need.
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
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
```
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!
- Fun Fact: This markdown tutorial blog was written using markdown
Read more of my blogs at acidop.codes
Posted on February 10, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 2, 2024