Markdown Syntax Guide
A Markdown syntax reference, headings and text styles, lists and task lists, links and images, fenced code blocks, tables, and other formatting, including GitHub-flavored extras.
Markdown is a plain-text formatting syntax that converts to HTML. It powers READMEs, GitHub comments, and countless note apps. Below is the common syntax; most renderers also support the GitHub Flavored Markdown (GFM) extras noted at the end.
Headings & text
| Markdown | Result |
|---|---|
# Heading 1 | Top-level heading (use ##–###### for smaller) |
**bold** | bold |
*italic* | italic |
~~strike~~ | |
`code` | inline code |
> quote | Block quote |
Lists
| Markdown | Result |
|---|---|
- item or * item | Bulleted list |
1. item | Numbered list |
- nested | Indent two spaces to nest |
- [ ] todo | Unchecked task (GFM) |
- [x] done | Checked task (GFM) |
Links & images
| Markdown | Result |
|---|---|
[text](https://url.com) | A hyperlink |
[text](url "title") | Link with hover title |
 | An image (note the leading !) |
<https://url.com> | Auto-linked bare URL |
Code blocks
Wrap multiple lines in triple backticks, optionally naming the language for highlighting:
```js
function hi() {
return "hello";
}
``` Tables (GFM)
Separate cells with pipes; the second row sets alignment with colons:
| Name | Score |
| :---- | ----: |
| Alice | 90 |
| Bob | 72 | Other
| Markdown | Result |
|---|---|
--- | Horizontal rule (on its own line) |
| Two spaces at line end | Forces a line break |
\*literal\* | Backslash escapes a special character |
| Blank line | Separates paragraphs |
Markdown flavors differ: tables, task lists, and strikethrough are GFM extensions, not part of the original spec. When in doubt, leave a blank line between block elements, it resolves most rendering surprises.
What this does
A Markdown syntax guide covers headings and text styles, lists and task lists, links and images, code blocks, tables, and GitHub-flavored extras.
How to use it
- Browse by element.
- Find the syntax you need.
- Copy it with one tap.
- Paste it into your document.
Example
# Title makes a top-level heading; **bold** makes bold text.
Sources & methodology
Last updated .
Frequently asked questions
What is Markdown?
Markdown is a lightweight plain-text formatting syntax that converts to HTML. It powers READMEs, GitHub comments, and many note-taking apps.
Why do tables or task lists not work?
Tables, task lists, and strikethrough are GitHub Flavored Markdown (GFM) extensions, not part of the original spec. Your renderer must support GFM.
How do I show a literal asterisk or backtick?
Escape it with a backslash, e.g. \* renders a literal asterisk. For literal backticks inline, wrap the text in more backticks than it contains.
Related tools
HTTP Status Codes
Every common HTTP status code explained, informational (1xx), success (2xx), redirection (3xx), client errors (4xx), and server errors (5xx), with what each one means.
Port Numbers Reference
A reference of common TCP and UDP port numbers (web and email, remote access, databases, and network services) so you can recognise what runs where.
File Extensions Reference
A reference of common file extensions and the formats they represent, documents, images, audio and video, archives, and code and data files.
ASCII Table
A complete ASCII table, printable characters 32–126 with their decimal and hex codes, plus the control characters 0–31 and 127 with their standard abbreviations.