💾 Archived View for gem.sdf.org › s.kaplan › cheatsheets › programming-languages › markdown.md captured on 2023-09-28 at 16:25:34.

View Raw

More Information

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

# 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/).