Markdown Cheatsheet
NOVOMarkdown cheatsheet with the syntax for headings, bold, lists, links, images, code, tables, task lists and GitHub extras. Searchable, with one-click copy.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
68 entradas em 12 seções
Headings
Leave a space after the # characters. One # is the biggest heading, six are the smallest.
# Heading 1Top-level heading (an <h1>).
## Heading 2Second-level heading, used for main sections.
### Heading 3Third-level heading, used for subsections.
###### Heading 6Smallest heading level.
Heading 1 =========Alternative (setext) style: a line of = under the text makes a level 1 heading.
Heading 2 ---------Alternative (setext) style: a line of - under the text makes a level 2 heading.
Emphasis
**bold**Renders the text in bold.
__bold__Also bold, using underscores.
*italic*Renders the text in italics.
_italic_Also italic, using underscores.
***bold and italic***Renders the text in bold italics.
**bold with _nested italic_**Emphasis can be nested: bold text with an italic part inside.
Paragraphs & line breaks
First paragraph. Second paragraph.A blank line starts a new paragraph.
Line one Line twoTwo spaces at the end of a line force a line break inside the paragraph.
Line one\ Line twoA backslash at the end of a line also forces a break (CommonMark; not every renderer supports it).
Lists
- Item one - Item twoUnordered (bulleted) list with hyphens.
* Item one * Item twoUnordered list with asterisks; + works too. Do not mix markers in one list.
1. First 2. Second 3. ThirdOrdered (numbered) list.
1. First 1. Second 1. ThirdNumbers are re-counted when rendered, so using 1. for every item still shows 1, 2, 3.
5. Fifth 6. SixthAn ordered list starts at the first number you give it.
- Parent - Child - GrandchildIndent by two spaces (or four) to nest a list inside a list item.
1. Step one - detail A - detail BNest a bulleted list inside a numbered item by indenting under the item text.
- Item Second paragraph in the same item.Indent a paragraph under a list item to keep it part of that item.
Links & images
[link text](https://example.com)Inline link with visible text.
[link text](https://example.com "Tooltip title")Link with a title that browsers show as a tooltip.
<https://example.com>Link whose visible text is the URL itself.
<[email protected]>Clickable email address.
[link text][docs] [docs]: https://example.com/docsReference-style link: define the URL once, reuse the label anywhere.
[Jump to section](#heading-text)Link to a heading on the same page (the id is the lowercase heading with hyphens; exact rules vary by renderer).
Embeds an image; the alt text is shown when the image cannot load and read by screen readers.
Image with a title tooltip.
[](https://example.com)An image that is also a link (common for badges).
Code
`inline code`Renders a short piece of code in monospace inside a sentence.
``code with a `backtick` inside``Use double backticks as delimiters when the code itself contains a backtick.
``` plain code block ```Fenced code block with no syntax highlighting.
```js console.log("hi"); ```Fenced code block with a language name for syntax highlighting.
~~~ code block with tildes ~~~Tildes work as a fence too, handy when the code contains triple backticks.
indented codeIndenting a block by four spaces (or one tab) also makes a code block.
Blockquotes
> A quoted lineRenders an indented quotation.
> First paragraph > > Second paragraphA quote with several paragraphs: keep a > on the blank line.
> Outer >> NestedAdd a second > to nest a quote inside a quote.
> **Tip** > - item one > - item twoOther Markdown, such as bold text and lists, works inside a quote.
Tables (GitHub-flavoured)
Tables are not in original Markdown, but GitHub, GitLab and most modern renderers support them.
| Name | Role | | --- | --- | | Ada | Dev |Basic table: a header row, a separator row of dashes, then body rows.
| Left | Center | Right | | :--- | :---: | ---: | | a | b | c |Colons in the separator row set column alignment: left, centered, right.
| Expression | Meaning | | --- | --- | | `a \| b` | A pipe inside a cell |Escape a pipe character inside a cell with a backslash.
Task lists & horizontal rules
- [ ] Write docs - [x] Fix bugTask list: an empty box for open items and [x] for done items (GitHub-flavoured).
---Horizontal rule. Put a blank line above it, or it turns the previous line into a heading.
***Horizontal rule using asterisks.
___Horizontal rule using underscores.
Escaping characters
A backslash in front of a Markdown character shows it literally.
\*not italic\*Shows the asterisks instead of making the text italic.
\# not a headingShows a # at the start of a line without making a heading.
1\. not a listStops "1." from turning into a numbered list.
\[not a link\](x)Shows the brackets and parentheses as plain text.
\\Shows a single backslash.
© <div>HTML entities work in most renderers: shows © and <div>.
GitHub-flavoured extras
Supported on GitHub and many other platforms, but not part of the original Markdown spec.
~~strikethrough~~Renders the text with a line through it.
Text with a note[^1] [^1]: The footnote text.Footnote: a numbered marker in the text and the note collected at the bottom of the page.
https://example.comBare URLs are turned into links automatically (autolink).
> [!NOTE] > Useful extra information.GitHub alert block; other types are TIP, IMPORTANT, WARNING and CAUTION.
@usernameOn GitHub, mentions a user and notifies them.
#123On GitHub, links to issue or pull request number 123 in the same repository.
:rocket:Emoji shortcode that GitHub renders as 🚀.
HTML inside Markdown
Most renderers let raw HTML through, but some platforms strip tags for safety.
<kbd>Ctrl</kbd> + <kbd>C</kbd>Shows keyboard-key styling.
<br>Inserts a line break wherever you need one.
H<sub>2</sub>O and x<sup>2</sup>Subscript and superscript text.
<details> <summary>Click to expand</summary> Hidden **Markdown** content. </details>Collapsible section; keep the blank lines so Markdown inside is still processed.
<img src="logo.png" alt="Logo" width="120">Image with a fixed width, which plain Markdown images cannot set.
<!-- a comment -->Comment that is not shown in the rendered page.
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
Markdown is a plain-text format that turns into formatted HTML, used in README files, documentation, chat tools and static sites. This Markdown cheatsheet lists the syntax you reach for most: headings, bold and italic, lists, links, images, code blocks, blockquotes, tables and task lists.
It also covers escaping special characters, raw HTML inside Markdown, and the GitHub-flavoured extras such as strikethrough, footnotes and alerts, with a note where they are not part of the original spec. Each row shows the syntax and what it renders. Filter the list, then copy a snippet with one click. The page is plain text, so it loads quickly and nothing you type is sent anywhere.
Por que usar esta ferramenta?
- Look up Markdown syntax without leaving the page
- Core syntax and GitHub extras are clearly separated
- Multi-line snippets copy exactly as written
- Filter by keyword such as table or footnote
- Plain text page that loads fast
Recursos
Live filter
Type a keyword to show only the matching syntax and sections.
Copy per snippet
Each row has a Copy button that keeps line breaks and indentation.
Core and extras
Original Markdown is separated from GitHub-flavoured additions.
Tables and task lists
Column alignment, escaped pipes and checkbox syntax are included.
Escaping and HTML
Show special characters literally and use HTML where Markdown has no syntax.
Mobile friendly
Long snippets wrap, so rows stay readable on a phone.
Como usar
Pick a section
Scroll to Headings, Lists, Links, Code, Tables or another group.
Or use the filter
Type a word like "table" or "image" in the "Filter this cheatsheet" box.
Read what it renders
Each syntax has a one-line description of the result.
Copy and paste
Press Copy and paste the snippet into your README or editor, then edit the text.