Markdown: Markdown Blockquote Syntax and Nesting
Last updated: 2026-10-14
Blockquotes make your documents more persuasive—whether you're citing an expert opinion or highlighting an important note, blockquotes are the best tool for the job.
1. What You'll Learn
- Basic blockquote syntax and usage
- Multi-paragraph and nested blockquotes
- Embedding lists, code, and headings inside blockquotes
- Blockquote best practices in document layout
- Blockquotes vs callout boxes
2. A Technical Writing Trainer's Real Story
(1) Pain Point: Misusing Quotes
Jordan was conducting a documentation writing workshop for a tech team and discovered almost everyone was doing "quoting" the wrong way—some manually indented text in gray font, some used italic, some even pasted screenshots of other people's text. Quotes blended into the main body, making it impossible for readers to tell which parts were the author's own words and which were external sources.
(2) Solution: Unify Quote Formatting with >
Jordan set a team rule: all quoted external text, important tips, and warnings must use the > blockquote syntax. The team's linting script checks for standard quote formatting. Three months later, citation consistency jumped from 30% to 98%.
3. Blockquote Basics
(1) Basic Syntax
Use > at the start of a line to create a blockquote:
> to every line is the safest approach. Some parsers also support a single > at the start of a paragraph:
> to every line.
(2) Blank Lines in Blockquotes
Blank lines inside blockquotes also need a >:
▶ Example: Standard Blockquote Usage
▶ Example: Conversational Nested Blockquotes
5. Other Elements Inside Blockquotes
(1) Headings in Blockquotes
(2) Lists in Blockquotes
(3) Code Blocks in Blockquotes
▶ Example: Embedding Multiple Elements in a Blockquote
6. Blockquotes vs Callout Boxes
The > syntax and the > **💡 Tip:** patterns used throughout this tutorial are both blockquotes, but serve different purposes:
| Type | Syntax | Appearance | Purpose |
|---|---|---|---|
| Standard Blockquote | > text |
Gray vertical bar | Quoting external sources, dialogue |
| Tip Callout | > **💡 Tip:** text |
Gray bar + icon | Key tips, important notes |
| Warning Callout | > **⚠️ Note:** text |
Gray bar + icon | Warnings, common pitfalls |
7. Advanced Blockquote Usage in Layout
(1) Using Blockquotes as "Sidebars"
(2) Quotes Within Quotes (Layer by Layer)
8. Complete Example: Organizing a Technical Review with Blockquotes
Expected result: A professional architecture review document where blockquotes clearly separate different participants' opinions and the final decisions.
❓ FAQ
>  renders as an image inside the blockquote. But large images in blockquotes can feel cramped—use sparingly.<blockquote> element.📖 Summary
- Blockquotes use
>, add it to every line for maximum compatibility - Multi-level nesting uses
>>,>>>—don't exceed 3 levels - Blockquotes can contain headings, lists, code blocks, and tables
- Blockquotes are ideal for citing external sources and highlighting key information
- Callouts are enhanced blockquotes with emoji and bold formatting for visual distinction
- Keep blockquotes concise—long quotes disrupt document flow
📝 Exercises
-
Basic: Write a short book review using blockquotes with at least 2 paragraphs separated by a blank
>line. -
Intermediate: Create a double-nested blockquote simulating a "teacher quotes an expert, then a student quotes the teacher's explanation" scenario. Each level should have at least 2-3 lines.
-
Challenge: Write a "Technical Decision Log" that combines standard blockquotes (citing external sources), warning callouts (⚠️ risk alerts), tables (approach comparisons), and code blocks (sample code)—all within a blockquote to test the rendering.