Skip to main content
HomeBlogMarkdown Cheat Sheet — The Syntax You'll Use Every Day

Markdown Cheat Sheet — The Syntax You'll Use Every Day

A compact Markdown reference covering headings, emphasis, lists, links, code, tables, and blockquotes. Copy any snippet into the homepage editor to see it render.

Published:

A quick-reference for the Markdown syntax you will reach for most often. Paste any block below into the homepage editor to see it render instantly.

Headings

# H1
## H2
### H3

Emphasis

**bold text** and *italic text*
~~strikethrough~~

Lists

- unordered item
- unordered item

1. ordered item
2. ordered item
[link text](https://example.com)
![alt text](/image.png)

Code

Inline code uses single backticks: const x = 1.

A fenced block with a language hint enables syntax highlighting:

function greet(name: string): string {
  return `Hello, ${name}!`;
}

Tables

| Feature     | Syntax           |
| ----------- | ---------------- |
| Bold        | `**bold**`       |
| Inline code | `` `code` ``     |
Feature Syntax
Bold **bold**
Inline code `code`

Build a table with the Markdown table generator, or convert spreadsheet data with CSV to Markdown. The table syntax guide covers alignment and escaped pipes.

Blockquotes

> A quote line.
> It can wrap across lines.

Use > on an otherwise empty line to keep two paragraphs inside the same quote. See the blockquote guide for examples.

Horizontal line

First section.

---

Second section.

Three hyphens on a separate line create a divider. A blank line above prevents them from turning the preceding text into a heading. The horizontal line guide explains this distinction.

Underline

There is no native underline delimiter in CommonMark or GFM. __text__ means bold. GitHub documents <ins>text</ins>, but HTML support differs between renderers. See the underline compatibility guide before using it in a shared document.

Try it in your browser

Open the homepage editor to view, edit, and export Markdown instantly — no install required.

More articles

Markdown Cheat Sheet — The Syntax You'll Use Every Day | MD File Viewer