Markdown for beginners

This article was automatically translated to English using AI.

Once you go markdown, you never go down! This quick Markdown guide provides a rapid overview of (almost) all Markdown syntax elements.

Headings

Code:

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Result:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Emphasis

Code:

*Italic* or _Italic_
**Bold** or __Bold__
~~Strikethrough~~
**_Bold and Italic_**

Result:

Italic or Italic Bold or Bold Strikethrough Bold and Italic

Images

Code:

![Cat](cat.jpg "Image Caption")

Result:

Cat

Lists

Code:

1. Item 1
2. Item 2
   1. Subitem 1
   2. Subitem 2

- Item 1
  - Subitem 1
  - Subitem 2

Result:

  1. Item 1
  2. Item 2
    1. Subitem 1
    2. Subitem 2
  • Item 1
    • Subitem 1
    • Subitem 2

Tasks

Code:

- [x] Completed task
- [ ] Pending task

Result:

  • Completed task
  • Pending task

Links

Code:

[Link Text](https://www.example.com)

Result:

Link Text

Tables

Code:

| Column 1 | Column 2 |
| -------- | -------- |
| Data 1   | Data 2   |

Result:

Column 1 Column 2
Data 1 Data 2

Blockquotes

Code:

> This is a blockquote.
> Continues here.

Result:

This is a blockquote. Continues here.

Code

Code:

```
print("Hello, World!")
```

Result:

print("Hello, World!")

Math

Mathematical equations can be rendered too, for example:

$$
\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\ldots} } } }
$$

Renders this intimidating equation: (Learn more about LaTeX here)

$$ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\ldots} } } } $$

Horizontal Rules

Code:

---
***
___

Result:




That’s all for today!

If you need more help with Markdown, here are two apps that can generate the code automatically:

MacDown - free

iA Writer - paid

This guide doesn’t cover every Markdown edge case — for that, check out: Markdown Guide