Markdown is a simple way to write and format text. It lets you create nicely formatted text without the use of complex coding. The idea is to make it easy for people to read and understand the formatting, even if they're looking at the raw text.
Markdown document file names use the extension “.md”.
This cheat sheet will go over some of the key components of markdown. This blog uses Markdown, so I need to keep this handy!
Headers
# H1 - Largest heading
## H2 - Second level heading
### H3 - Third level heading
#### H4 - Fourth level heading
##### H5 - Fifth level heading
###### H6 - Smallest heading
Emphasis
*italic text* or _italic text_
**bold text** or __bold text__
***bold and italic*** or ___bold and italic___
~~strikethrough text~~
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item 2.1
- Nested item 2.2
- Item 3
* Also works with asterisks
+ Or plus signs
Ordered Lists
1. First item
2. Second item
1. Nested item
2. Another nested item
3. Third item
Links
[Link text](https://example.com)
[Link with title](https://example.com "Title on hover")
<https://example.com> (automatic link)
Images


Code
Inline Code
Use `backticks` for inline code
Code Blocks
```
Basic code block
```
```python
# Code block with syntax highlighting
def hello():
print("Hello, World!")
```
Blockquotes
> This is a blockquote
> It can span multiple lines
>
> And have multiple paragraphs
Horizontal Rules
---
***
___
Tables
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
Left-aligned: |:---------|
Right-aligned: |----------:|
Centered: |:----------:|
Task Lists
- [x] Completed task
- [ ] Incomplete task
- [ ] Another task
Escaping Characters
Use backslash to escape special characters:
\* \_ \# \[ \] \( \) \`
Line Breaks
End a line with two spaces
to create a line break
Or use a blank line
to create a paragraph break
Footnotes
Here's a sentence with a footnote[^1]
[^1]: This is the footnote content
Definition Lists (extended syntax)
Term
: Definition
HTML
You can use HTML tags in Markdown
<br> for line breaks
<details> for collapsible sections