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(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

  1. First item
  2. Second item

Unordered List

  • First item
  • Second item
  • Third item
  • Fourth item

[Markdown Can Do](https://www.markdown.com)

Inline Code

Use `printf()` function.

Fenced Code Blocks

javascript
// JavaScript code here

Escaping

Use \ to escape special 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
``|

Footnote

This paragraph uses a footnote[1].

Readme Badge

ENGLISH README

Vercel Deploy Badge

Deploy

TODO List

  • [ ] Implement a simple to-do list
  • [ ] Get some fries at the dock

Math Formulas

Inline math: E=mc2

Display math:

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