Markdown cheatsheet
What you type | What will be published | ||||||
---|---|---|---|---|---|---|---|
# Header 1 ## Header 2 And so on up to 6. |
Header 1 Header 2 Another 2 Another 1 |
||||||
Return once starts a new line. Return twice (blank line) starts a new paragraph. |
|||||||
*Italics* **Bold** ~~Strikeout~~ |
Italics Bold |
||||||
-> Centered text <- -> Right-aligned -> Also works for images and ### -> Headers <- |
Centered text Right-aligned | ||||||
[TOC] Generates Table of Contents from # Headers. [TOC2] - From h2 to h6. [TOC3] - From h3 to h6, and so on up to 6. |
|||||||
- Bulleted list item a - Bulleted list item b - Nested item b1 Nested lists use 4 spaces or 1 tab. An asterisk (*) can be used instead of a dash. |
|
||||||
1. Numbered list item 2. Numbered list item 1. Nested list item 2. Nested list item |
|
||||||
- [ ] Checkbox 1 - [x] Checkbox 2 |
|
||||||
>> How to use quotes in Markdown? > Just prepend text with > |
|
||||||
``` python s = "Tripple backticks ( ``` ) generate code block" print(s) ``` For the list of supported languages see the langs page. |
|
||||||
Single backtick generates `inline code` |
Single backtick generates inline code
|
||||||
*** Horizontal rule, <hr> |
|
||||||
\*not italics\* To produce a literal asterisk or any symbol used in Markdown, use backslash to escape it. |
*not italics* | ||||||
First Header | Second Header -- | -- Content Cell | Content Cell Content Cell | Content Cell |
|
||||||
Autolinks: https://rentry.co/ or rentry.co |
Autolinks: https://rentry.co/ or rentry.co |
||||||
Link description: [Markdown pastebin](https://rentry.co) Be sure to include the "http(s)://" part of the link. |
Link description: Markdown pastebin |
||||||
 Be sure to include direct link to the image. |
![]() |