# CommonMark Cheat Sheet

Bold text: ` **bold** ` → **bold**

Italic text: `*italic*` → _italic_

Underline text: ` __underlined text__ ` → underlined text

Strikethrough text: ` ~~strikethrough~~ ` → ~~strikethrough~~

Inline code: ``inline code`` → `inline code`

Block code: `ruby\nblock code\n` → `ruby block code`

Link: `[link](http://example.com)` → [link](http://example.com)

Image: `![image](http://example.com/image.png)` → ![image](http://example.com/image.png)

Header: `# Header 1` → # Header 1

Subheader: `## Header 2` → ## Header 2

List: `- item` → - item

Numbered list: `1. item` → 1. item

Quote: `> quote` → \> quote

Horizontal rule: `---` → —

Table: `| header 1 | header 2 |\n| --- | --- |\n| cell 1 | cell 2 |` → | header 1 | header 2 |  
| — | — |  
| cell 1 | cell 2 |

Code block: ````ruby\nblock code\n```` → `ruby block code`

Task list: `- [x] task` → - [x] task

Emoji: `:smile:` → 😄

HTML: `<b>bold</b>` → **bold**

Spoiler: `Darth Vader is ||Luke's father||` → Darth Vader is Luke’s father
