Markdown Cheatsheet
Overview Table
| Element | Markdown Syntax |
|---|---|
| Heading | # H1 ## H2 ### H3 |
| Bold | **bold text** |
| Italic | *italicized text* |
| Blockquote | > blockquote |
| Ordered List | 1. 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 |  |
| Table | (See below for syntax) |
Basic Syntax
Headings
- H1:
# Level 1 Header - H2:
## Level 2 Header - H3:
### Level 3 Header - H4:
#### Level 4 Header - H5:
##### Level 5 Header - H6:
###### Level 6 Header
Emphasis
- Italic:
*This text will be italic*或_This will also be italic_ - Bold:
**This text will be bold**或__This will also be bold__ - Combined:
_You **can** combine them_
Lists
Ordered List
- First item
- Second item
Unordered List
- First item
- Second item
- Third item
- Fourth item
Links
[Markdown Can Do](https://www.markdown.com)
Inline Code
Use `printf()` function.
Fenced Code Blocks
javascript
// JavaScript code hereEscaping
Use \ to escape special characters in Markdown:
| Character | Escaped Markdown | Character 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 |
| ` | ` | | |
Footnote
This paragraph uses a footnote[1].
Readme Badge
Vercel Deploy Badge
TODO List
- [ ] Implement a simple to-do list
- [ ] Get some fries at the dock
Math Formulas
Inline math:
Display math:
This line will appear at the end of the article. ↩︎