Languages
Markdown Cheat Sheet — Syntax Reference (with GFM)
Markdown syntax at a glance, including the GitHub Flavored Markdown (GFM) extensions used in READMEs and issues.
Put it into practice with the matching tool.
Preview Markdown →Advertisement
Headings & emphasis
# Heading 1Top-level heading (up to ###### for level 6)**bold**Bold text*italic*Italic text***bold italic***Bold and italic~~strikethrough~~Strikethrough (GFM)Lists
- itemUnordered list item1. itemOrdered list item - nestedNested item (indent by two spaces)- [ ] todoUnchecked task list item (GFM)- [x] doneChecked task list item (GFM)Links & images
[text](https://example.com)Inline link[text](url "title")Link with hover titleImage<https://example.com>Autolink a bare URLCode
`inline code`Inline code span```jsStart a fenced code block with syntax highlighting```Close a fenced code block four spacesIndented code block (legacy style)Tables (GFM)
| A | B |Header row| --- | --- |Divider row (required)| :--- |Left-align the column| :---: |Center the column| ---: |Right-align the columnOther blocks
> quoteBlockquote---Horizontal ruleline ending with two spacesForce a line break\*escaped\*Escape a Markdown character with a backslash