Skip to content

Markdown Cheatsheet

Overview Table

ElementMarkdown Syntax
Heading# H1
## H2
### H3
Bold**bold text**
Italic*italicized text*
Blockquote> blockquote
Ordered List1. First item
2. Second item
Unordered List- First item
- Second item
Code`code`
Fenced Code Block
Horizontal Rule---
Link[title](https://www.example.com)
Image![alt text](image.jpg)
Table

Base Syntax

Headings

H1: Level 1 Header

H1: Level 1 Header

H2: Level 2 Header

H2: Level 2 Header

H3: Level 3 Header

H3: Level 3 Header

H4: Level 4 Header

H4: Level 4 Header

H5: Level 5 Header

H5: Level 5 Header

H6: Level 6 Header

H6: Level 6 Header

Emphasis

This text will be italic
This will also be italic
This text will be bold
This will also be bold
You can combine them

Lists

Ordered List

  1. First item
  2. Second item

Unordered List

  • 1
  • 2
  • 3
  • 4

Markdown Can Do

Inline Code

Use printf() function.

(Fenced) Code Blocks

javascript
Fenced counts four: '', which can embed

Escaping

Use \ for escaping the below characters in Markdown:

CharacterEscaped MarkdownCharacter Name
*\*Asterisk
_\_Underscore
{\{Opening Curly Bracket
}\}Closing Curly Bracket
[\[Opening Square Bracket
]\]Closing Square Bracket
(\(Opening Parenthesis
)\)Closing Parenthesis
#\#Hash
+\+Plus
-\-Hyphen/Minus
.\.Period/Dot
!\!Exclamation Mark
``|

This table provides a quick reference for escaping special characters in Markdown, along with the names of the characters.

Footnote

This paragraph uses a footnote[1].
This paragraph uses a footnote[1:1].

Combine

Readme Badge

ENGLISH README
English documentation
[alt](readme link)

Other configurations refer to shield.

Vercel Deploy Badge

Deploy
Deploy this site with Vercel
alt

Ext

TODO

Implement a simple to-do list:

  • Get some fries at the dock

Math

E=mc2

ex2dx=π
  1. This line will appear at the end of the article ↩︎ ↩︎