menu

Markdown Cheatsheet

Essential quick reference guide for every programmer working with Markdown.

Overview

Need to refresh your memory regarding Markdown syntax? Excellent!

Below are listed the most common and used elements of the language.

It is worth mentioning that, here only the basics of Markdown are presented, if you need more information see the basic syntax and extended syntax sections.

Basic syntax

The elements that underlie Markdown are shown below. These formatting elements were described in the original language document and the vast majority of programs support them.

Element Markdown
Titles
# H1
## H2
### H3
Try it yourself 
Bold
**bold text**
Try it yourself 
Italic
*italic text*
Try it yourself 
Blockquote
> Blockquote
Try it yourself 
Ordered list
1. First element
2. Second element
3. Third element
Try it yourself 
Unordered list
- First item
- Second item
- Third item
Try it yourself 
Code
Horizontal rule
Link
[title](https://en.markdown.net.br)
Try it yourself 
Image
![alternative text](https://markdown.net.br/assets/img/basic-syntax/markdown-logo-small.png)
Try it yourself 

Extended Syntax

With the evolution of Markdown, other elements were implemented, enriching the range of options for formatting documents. On the one hand, a little more complexity, but on the other, the language gained more resources for the construction of different documents.

Keep in mind that not all applications developed for Markdown support these elements, it is always a good idea to consult the program documentation or the tools section.

Element Markdown
Table
| Title  | Title |
| --------| ------ |
| Text   | Text  |
| Text | Text  |
Try it yourself 
Fenced code block
```
{
    "name": "Robert",
    "surname": "Salles",
    "age": 25
}
```
Try it yourself 
Footnote
Here is a sentence with a footnote. [^1]

[^1]: This is the footnote.
title ID
### My title {#id}
Definition list
term
: definition
Strikethrough
~~Markdown is difficult to learn.~~
Try it yourself 
Task List
- [x] Clean the bedroom
- [ ] Walk for 30 minutes
- [ ] Update the site
Try it yourself