Skip to content

Markdown Cheat Sheet

## Basic Syntax
| Name       | Equivalent      |
| ---------- | --------------- |
| Heading    | `# H1`, `## H2`, `### H3`  |
| Bold | `**bold**` |
| Italic | `*italicized text*` |
| Blockquote | ` > Blockquote` | > Blockquote |
| Ordered List | `1. First `, `2. Second item` 

    3. Third item
Unordered List:
- First item
- Second item
- Third item

Code    `code`
Horizontal Rule ---
Link    [title](https://www.example.com)
Image   ![alt text](image.jpg)

Headers

  • # H1
  • ## H2
  • ### H3
  • #### H4
  • ##### H5
  • ###### H6

Emphasis

  • *italic* or _italic_ for italic
  • **bold** or __bold__ for bold
  • **_both_** for bold and italic
  • ~~strikethrough~~ for strikethrough

Lists

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • Item
  • Item
  • Subitem
  • Subitem
  • Item
  • [title](https://www.example.com) for links
  • [title](URL "Hover title") for links with a hover title

Images

  • ![alt text](image.jpg) for images
  • ![alt text](image.jpg "Title") for images with a title

Code

  • `Inline code` for inline code
  • ``` for code block without syntax highlighting
  • ```language at the start of a code block to specify syntax highlighting

Blockquotes

  • > Blockquote for block quotes

Tables

Syntax Description
Header Title
Cell Content
  • Use - for headers and | to separate columns.

Horizontal Rule

  • --- or *** for a horizontal rule

Escape Characters

  • Use \ to escape markdown characters

Task Lists

  • - [ ] for an unchecked task
  • - [x] for a checked task

Footnotes

  • Here's a sentence with a footnote. [^1]
  • [^1]: This is the footnote.

Extended Syntax (Not supported everywhere)

Fenced Code Blocks

  • ```language for fenced code blocks with specific language highlighting

Strikethrough

  • ~~The world is flat.~~ for strikethrough

Tables

  • Use | to create tables

Task Lists

  • - [x] for a task list with a checked item
  • - [ ] for a task list with an unchecked item
This cheat sheet covers the basics of markdown syntax. Some platforms may support additional markdown extensions or slightly different syntax, so it's a good idea to check the specific documentation for the platform you're using.