A quick-reference for the Markdown syntax you will reach for most often. Paste any block below into the homepage editor to see it in the rendered preview.
Headings
# H1
## H2
### H3Emphasis
**bold text** and *italic text*
~~strikethrough~~Lists
- unordered item
- unordered item
1. ordered item
2. ordered itemLinks and images
[link text](https://example.com)
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 download Markdown without installing an application.
More articles
Markdown Links Explained: How to Add Links in Markdown
Learn how to add links in Markdown — inline links, reference links, auto-links, link titles, and clickable email links. A complete guide to Markdown hyperlink syntax with copy-paste examples.
How to Create Ordered, Unordered, and Nested Lists in Markdown
A complete guide to Markdown lists — bullet (unordered) lists, numbered (ordered) lists, nested lists, and task lists, with syntax examples and tips for clean, readable formatting.
Markdown Code Blocks: Syntax Highlighting and Inline Code
Master markdown code block syntax highlighting: inline code with single backticks, fenced blocks, language hints, nesting, and tips for clean, readable code in docs.
Markdown Headings Guide: How to Use H1–H6 Tags the Right Way
Master Markdown headings. Learn H1–H6 syntax, ATX vs Setext, heading anchors and IDs, best practices for document structure and SEO, and common mistakes to avoid.