Markdown Cheat Sheet

The Markdown syntax you use most, gathered on one page with examples, preview and HTML output. Tap any item to see the syntax explained with a conversion example, and open it straight in the converter.

Heading # ## The number of # marks sets a heading level from 1 to 6. Headings form the backbone of your document structure and table of contents. Bold **text** Wrap text in two asterisks (**) to make it bold. Two underscores (__) work the same way. Italic *text* Wrap text in a single asterisk (*) for italics. A single underscore (_) does the same. Strikethrough ~~text~~ Wrap text in two tildes (~~) to strike it through. This is a GFM extension. Blockquote > quote Start a line with > to create a quote block. Stack > marks for nested quotes. Bullet list - item Start a line with -, * or + to make a bulleted list. Numbered list 1. item Start a line with a number and a dot (1.) to make an ordered list. Task list - [ ] Use - [ ] and - [x] to create to-do checkboxes. This is a GFM extension. Link [t](url) Create a hyperlink with the [visible text](url) form. Image ![alt](url) Put an exclamation mark (!) before a link to embed an image. Inline code `code` Wrap text in backticks (`) to show it in a monospace code font. Code block ``` ``` Wrap multi-line code in three backticks (```). Add a language name for syntax highlighting. Table | a | b | Build tables with pipes (|) and hyphens (-). This is a GFM extension. Horizontal rule --- Put ---, *** or ___ on a line of its own to draw a divider. Line break ␣␣ / \ End a line with two spaces or a backslash (\) to force a line break. Escaping \* \# Put a backslash (\) in front of characters like *, _ and # to show them as text instead of syntax.