💾 Archived View for gem.sdf.org › s.kaplan › cheatsheets › programming-languages › markdown.md captured on 2024-08-31 at 12:51:11.

View Raw

More Information

⬅️ Previous capture (2023-09-28)

-=-=-=-=-=-=-

# Markdown Cheatsheet

Markdown is a lightweight markup language that can be used to format text for the web. Here are some of the basic syntax elements:

## Headers
- # \# H1
- ## \#\# H2
- ### \#\#\# H3
- #### \#\#\#\# H4
- ##### \#\#\#\#\# H5
- ###### \#\#\#\#\#\# H6

## Emphasis
- *\*Italic\**
- **\*\*Bold\*\***
- ***\*\*\*Bold and Italic\*\*\****

## Lists
### Unordered Lists
- Item 1
- Item 2
- Item 3

### Ordered Lists
1. Item 1
2. Item 2
3. Item 3

## Links
\[Link text](URL)

## Images
\![Alt text](image URL)

## Code
\`Inline code`

\```

Block of code

\```

## Horizontal Rule
---

## Blockquote
\> This is a blockquote.

## Tables
\| Column 1 | Column 2 |

\|----------|----------|

\| Row 1, Column 1 | Row 1, Column 2 |

\| Row 2, Column 1 | Row 2, Column 2 |

## Task Lists
- [x] Task 1
- [ ] Task 2

## Strikethrough
\~~Strikethrough~~

## Inline HTML
\<span style="color:red">Red text</span>

For more information, check out the [official Markdown documentation](https://www.markdownguide.org/cheat-sheet/).