DEV Community

Dev Cookies
Dev Cookies

Posted on

Markdown Cheatsheet Guide

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Enter fullscreen mode Exit fullscreen mode

Emphasis

*Italic* or _Italic_
**Bold** or __Bold__
***Bold and Italic***
~~Strikethrough~~
Enter fullscreen mode Exit fullscreen mode

Lists

Unordered List

- Item 1
- Item 2
  - Subitem 1
  - Subitem 2
Enter fullscreen mode Exit fullscreen mode

Ordered List

1. First Item
2. Second Item
   1. Subitem 1
   2. Subitem 2
Enter fullscreen mode Exit fullscreen mode

Links

[Link Text](https://example.com)
Enter fullscreen mode Exit fullscreen mode

Images

![Alt Text](https://example.com/image.jpg)
Enter fullscreen mode Exit fullscreen mode

Blockquotes

> This is a blockquote.
Enter fullscreen mode Exit fullscreen mode

Code

Inline Code

`Inline code`
Enter fullscreen mode Exit fullscreen mode

Code Block

```


Code block


```
```

`

Horizontal Rule

```
---
```

Tables

```
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Row 1    | Data     | Data     |
| Row 2    | Data     | Data     |
```

Task Lists

```
- [x] Task 1
- [ ] Task 2
- [ ] Task 3
```

Escaping Special Characters

```
\*literal asterisks\*
```

Extended Syntax (Optional in some platforms)

Footnotes
```
Here's a footnote reference[^1].

[^1]: This is the footnote content.
```

Definition Lists
```
Term
: Definition
```

Strikethrough
```
~~Strikethrough~~
```

Highlight
```
==Highlighted Text== (varies by platform)
```

Combining Elements

```
# Combining Markdown

**Bold _and Italic_ Text**

> Blockquote with *Italic* and **Bold**.

- Item 1 with `inline code`
- Item 2
```

## Conclusion
This cheatsheet covers the essential elements of Markdown syntax, making it easier to format documents efficiently.

Enter fullscreen mode Exit fullscreen mode

Top comments (0)