ADVERT
๐ Markdown Cheatsheet
Copy-ready Markdown syntax for headings, emphasis, lists, tables, code blocks, and media embeds.
A complete Markdown reference featuring the syntax writers reach for every day. Copy-ready snippets for headings, lists, code, tables, and images keep your README files and docs consistent.
Headings & Structure
Organize your document hierarchy with predictable heading levels and blockquotes.
| Markdown | Preview | Notes |
|---|---|---|
# Heading 1 | Heading 1 | Use one to six # symbols for H1โH6 levels. |
## Heading 2 | Heading 2 | Smaller sub-heading for section titles. |
Heading level 1
=================== | Setext H1 | Alternative underline style for H1 and H2. |
> Quoted insight | Blockquote | Add nested > symbols for multi-level quotes. |
Inline Emphasis
Mix emphasis, code, and highlights for readable copy.
| Markdown | Preview | Notes |
|---|---|---|
**bold** | bold | Use ** or __ for strong emphasis. |
*italic* | italic | Use * or _ for emphasis. |
~~strikethrough~~ | strikethrough | Great for edits or completed tasks. |
`inline code` | inline code | Wrap code with single backticks. |
Lists, Tasks & Breaks
Structure ideas with ordered lists, checklists, and horizontal rules.
| Markdown | Preview | Notes |
|---|---|---|
- unordered item |
| Use -, +, or * for unordered lists. |
1. ordered item |
| Numbers auto-increment even if repeated. |
- [x] Completed task |
| GitHub Flavored Markdown supports task lists. |
--- or *** | Create thematic breaks with three hyphens or more. |
Links, Media & Code Fences
Embed rich references, images, and syntax-highlighted blocks.
| Markdown | Preview | Notes |
|---|---|---|
[ToolHop](https://toolhop.app) | ToolHop | [text](url) is the classic inline link pattern. |
 | Image with alt text | Same format as links but prefixed with !. |
[id]: https://example.com | Reference-style links keep paragraphs tidy. | Use [link text][id] inline, define at the bottom. |
```js
console.log('hi')
``` | Multi-line fenced code block | Fence triple backticks and add a language tag for syntax highlighting. |
Tables & Advanced Blocks
Create tabular data and sprinkle raw HTML for extra control.
| Markdown | Preview | Notes |
|---|---|---|
| Col | Col | | | Col | Col | | Use pipes and --- separators. Align with :---, :---:, or ---:. |
:--- | Left align | :--- for left, :---: center, ---: right alignment. |
```mermaid``` | Mermaid diagram | Platforms like GitHub render diagrams when enabled. |
<details><summary>Title</summary>Hidden</details> | Expandable details | Raw HTML is allowed when Markdown falls short. |
Best Practices
Quick reminders for professional documentation.
- Readable line length
Wrap paragraphs around 80 characters so diffs stay small.
- Consistent spacing
Leave one blank line between headings, lists, and paragraphs for reliable rendering.
- Use reference links
Collect all outbound URLs at the bottom of long documents for easier editing.
- Annotate code fences
Language hints (```js, ```bash) unlock syntax highlighting across most renderers.
ADVERT
ADVERT