Home/Docs/Markdown Blockquotes

Markdown Blockquotes

A Markdown blockquote is used to highlight quoted text, important notes, warnings, tips, or referenced content.

Instead of displaying text as a normal paragraph, a blockquote visually separates it from the rest of the document, making it easier for readers to notice important information.

This guide covers basic and nested blockquotes, multiline quotes, GitHub callouts, notes, warnings, tips, best practices, common mistakes, and platform compatibility for GitHub, VS Code, Obsidian, and other Markdown editors.

Practice as you read: Open the Markdown Editor to write blockquotes with live preview, or keep the Markdown Cheat Sheet open for quick syntax lookup.

Open EditorDownload PDF

What Is a Markdown Blockquote?

A Markdown blockquote is used to highlight quoted text, important notes, warnings, tips, or referenced content.

Instead of displaying text as a normal paragraph, a blockquote visually separates it from the rest of the document, making it easier for readers to notice important information.

Blockquotes are commonly used in:

  • GitHub README files
  • Technical documentation
  • API documentation
  • Tutorials
  • Blog articles
  • Knowledge bases
  • Developer guides

Markdown creates a blockquote using the greater-than (>) character at the beginning of a line.

Basic Markdown Blockquote Syntax

To create a blockquote, place a greater-than symbol followed by a space before the text.

> This is a Markdown blockquote.

Output

Rendered Output

This is a Markdown blockquote.

The > character tells the Markdown renderer that the following text should be displayed as a quotation.

Why Use Markdown Blockquotes?

Blockquotes improve readability by separating important content from regular paragraphs.

They are commonly used to display:

  • Important notes
  • Helpful tips
  • Warnings
  • Quoted text
  • Documentation highlights
  • References
  • Callout sections

Using blockquotes makes long documentation easier to scan and understand.

Multi-line Blockquotes

A blockquote can span multiple lines by adding the > character before each line.

> Markdown is a lightweight markup language.
>
> It is widely used for documentation,
> README files, technical blogs,
> and note-taking applications.

Output

Rendered Output

Markdown is a lightweight markup language.

It is widely used for documentation, README files, technical blogs, and note-taking applications.

Adding > to every line keeps the entire paragraph inside the blockquote.

Multiple Paragraphs Inside a Blockquote

You can also create multiple paragraphs within the same blockquote.

> This is the first paragraph.
>
> This is the second paragraph.
>
> Both paragraphs belong to the same blockquote.

Output

Rendered Output

This is the first paragraph.

This is the second paragraph.

Both paragraphs belong to the same blockquote.

This formatting is commonly used in tutorials and documentation where additional explanation is required.

When Should You Use Blockquotes?

Use blockquotes whenever you want readers to pay special attention to a piece of information.

Good use cases include:

  • Quoting documentation
  • Highlighting important notes
  • Displaying warnings
  • Showing best practices
  • Explaining limitations
  • Providing recommendations
  • Adding helpful tips

Avoid using blockquotes for every paragraph. Overusing them reduces their visual impact and makes documentation harder to read.

Nested Blockquotes

Markdown allows you to create nested blockquotes by adding additional greater-than (>) symbols.

Nested blockquotes are useful for showing replies, quoted conversations, or separating multiple levels of information.

Single Nested Blockquote

> This is the main quote.
>
>> This is a nested quote.

Output

Rendered Output

This is the main quote.

This is a nested quote.

Multiple Levels of Nesting

You can continue nesting blockquotes by adding more > characters.

> Level 1
>> Level 2
>>> Level 3
>>>> Level 4

Output

Rendered Output

Level 1

Level 2

Level 3

Level 4

Although Markdown supports deep nesting, keeping it to two or three levels usually provides the best readability.

Blockquotes with Headings

You can include Markdown headings inside a blockquote.

> ## Important
>
> Always preview your Markdown before publishing.

Output

Rendered Output

Important

Always preview your Markdown before publishing.

This approach works well for documentation notes and highlighted sections.

Blockquotes with Lists

Lists can be placed inside blockquotes by combining the > character with normal list syntax.

Unordered List

> Features:
>
> - Easy to learn
> - Lightweight
> - Portable

Output

Rendered Output

Features:

  • Easy to learn
  • Lightweight
  • Portable

Ordered List

> Setup Steps:
>
> 1. Install Node.js
> 2. Install dependencies
> 3. Start the server

Output

Rendered Output

Setup Steps:

  1. Install Node.js
  2. Install dependencies
  3. Start the server

Lists inside blockquotes are commonly used for instructions, recommendations, and documentation highlights. For more on list syntax, see Markdown Lists.

Blockquotes with Code Blocks

Code examples can be placed inside blockquotes.

> Example command:
>
> ```bash
> npm install
> npm run dev
> ```

Output

Rendered Output

Example command:

npm install
npm run dev

This is useful when explaining commands, API requests, or programming examples within an important note. See Markdown Code Blocks for fenced block syntax.

Blockquotes with Images

Images can also be included inside blockquotes.

> ![Markdown Logo](logo.png)
>
> Official Markdown logo.

Output

Rendered Output

Markdown Logo

Official Markdown logo.

Support for images inside blockquotes depends on the Markdown renderer, but modern platforms such as GitHub, GitLab, and Obsidian handle them correctly. See Markdown Images for image syntax details.

Mixing Markdown Elements Inside Blockquotes

A single blockquote can contain multiple Markdown elements together.

> ## Deployment Checklist
>
> Complete the following steps:
>
> - Install dependencies
> - Configure environment variables
>
> ```bash
> npm install
> npm run build
> ```
>
> Learn more in the Deployment Guide.

Output

Rendered Output

Deployment Checklist

Complete the following steps:

  • Install dependencies
  • Configure environment variables
npm install
npm run build

Learn more in the Deployment Guide.

This combination is commonly used in technical documentation because it groups related information into one clearly highlighted section while keeping the page easy to scan.

GitHub Markdown Blockquotes

GitHub supports standard Markdown blockquotes as well as GitHub Alerts (also called callouts). These alerts are one of the most useful ways to highlight important information in README files, documentation, Wikis, Issues, and Pull Requests.

GitHub Alerts are supported in GitHub Flavored Markdown (GFM) and help readers quickly identify notes, tips, warnings, and important messages.

GitHub Note Blockquote

Use a NOTE callout to provide additional information without interrupting the main content.

> [!NOTE]
> Markdown is supported by GitHub, GitLab, VS Code, Obsidian, and many other editors.

On GitHub, this renders as a styled NOTE callout with an icon and colored border. In editors that do not support GitHub Alerts, it appears as a plain blockquote.

Output (standard blockquote rendering)

Rendered Output

[!NOTE] Markdown is supported by GitHub, GitLab, VS Code, Obsidian, and many other editors.

Use a NOTE whenever readers may benefit from additional context or clarification.

GitHub Tip Blockquote

Use a TIP callout to share recommendations or productivity tips.

> [!TIP]
> Always specify a language identifier after the opening triple backticks for syntax highlighting.

On GitHub, this renders as a styled TIP callout. Other Markdown editors may display it as a plain blockquote.

Output (standard blockquote rendering)

Rendered Output

[!TIP] Always specify a language identifier after the opening triple backticks for syntax highlighting.

Tips help readers follow best practices and avoid common mistakes.

GitHub Important Blockquote

Use an IMPORTANT callout for information that should not be overlooked.

> [!IMPORTANT]
> Verify every code example before publishing documentation.

On GitHub, this renders as a styled IMPORTANT callout. Other Markdown editors may display it as a plain blockquote.

Output (standard blockquote rendering)

Rendered Output

[!IMPORTANT] Verify every code example before publishing documentation.

Reserve IMPORTANT alerts for essential guidance that directly affects the reader.

GitHub Warning Blockquote

Warnings highlight actions that could cause problems if ignored.

> [!WARNING]
> Deleting production data cannot be undone.

On GitHub, this renders as a styled WARNING callout. Other Markdown editors may display it as a plain blockquote.

Output (standard blockquote rendering)

Rendered Output

[!WARNING] Deleting production data cannot be undone.

Warnings are ideal for security notices, destructive actions, and configuration changes.

GitHub Caution Blockquote

Use CAUTION when readers need to be especially careful.

> [!CAUTION]
> Never commit API keys or passwords to a public repository.

On GitHub, this renders as a styled CAUTION callout. Other Markdown editors may display it as a plain blockquote.

Output (standard blockquote rendering)

Rendered Output

[!CAUTION] Never commit API keys or passwords to a public repository.

This alert type is commonly used for security-sensitive documentation.

When Should You Use GitHub Callouts?

GitHub callouts are most effective when highlighting:

  • Notes
  • Tips
  • Best practices
  • Security recommendations
  • Warnings
  • Important instructions
  • Configuration requirements

Avoid using them for ordinary paragraphs. Too many callouts reduce their impact and make documentation harder to scan.

Platform Compatibility

Platform Standard Blockquotes GitHub Alerts
GitHub โœ… โœ…
GitLab โœ… โŒ
VS Code Preview โœ… Limited
Obsidian โœ… Theme/Plugin Dependent
Docusaurus โœ… Framework Specific
MkDocs โœ… Theme Specific
Markdown Guide Editors โœ… Usually No

Standard blockquotes are supported almost everywhere, while GitHub Alerts are primarily designed for GitHub Flavored Markdown.

Best Practices

Follow these recommendations when using Markdown blockquotes:

  • Use blockquotes only for information that deserves emphasis.
  • Keep quoted content concise.
  • Use GitHub Alerts instead of plain blockquotes for notes and warnings on GitHub.
  • Avoid nesting blockquotes more than two or three levels.
  • Place code blocks, lists, and links inside blockquotes only when they improve clarity.
  • Maintain consistent spacing after every > character.
  • Preview your Markdown in the Markdown Editor before publishing to verify rendering across platforms.

Well-structured blockquotes improve readability and help readers quickly identify important information.

Common Markdown Blockquote Mistakes

Although blockquotes are simple to create, small syntax mistakes can prevent them from rendering correctly. Here are the most common issues and how to fix them.

Forgetting the Space After >

Incorrect:

>This is a blockquote.

Correct:

> This is a blockquote.

While some Markdown parsers accept both formats, adding a space after > improves readability and follows common Markdown conventions.

Missing the > on Multiple Lines

Incorrect:

> This is the first line.
This line is outside the blockquote.

Correct:

> This is the first line.
> This line is also inside the blockquote.

Every line that belongs to the blockquote should begin with the > character.

Incorrect Nesting

Incorrect:

>> First level
> Second level

Correct:

> First level
>> Second level
>>> Third level

Maintain a logical nesting order to keep the quote structure easy to understand.

Using Too Many Nested Levels

Although Markdown allows multiple levels of nesting, deeply nested blockquotes quickly become difficult to read.

Instead of nesting five or more levels, consider breaking the content into separate sections or using headings instead.

Overusing Blockquotes

Not every paragraph should be inside a blockquote.

Use blockquotes only for:

  • Notes
  • Tips
  • Warnings
  • Important information
  • Referenced quotations

For normal explanations, use regular paragraphs.

Real-World Blockquote Examples

Blockquotes appear in many types of technical documentation.

Documentation Note

> **Note**
>
> Always back up your project before making major configuration changes.

Installation Tip

> **Tip**
>
> Install dependencies using the latest LTS version of Node.js.

Security Warning

> **Warning**
>
> Never commit passwords, API keys, or secret tokens to a public repository.

API Documentation

> **Important**
>
> This endpoint requires authentication using a Bearer token.

README Highlight

> This project supports Windows, macOS, and Linux.

These examples show how blockquotes improve readability without adding unnecessary complexity.

Accessibility Tips

Well-written blockquotes improve the reading experience for everyone.

Follow these recommendations:

  • Keep quoted text concise.
  • Use clear and descriptive language.
  • Avoid placing large sections of content inside a single blockquote.
  • Use headings before long blockquotes when appropriate.
  • Reserve warning callouts for genuinely important information.
  • Maintain consistent formatting throughout your documentation.

Accessible documentation is easier to scan and understand on both desktop and mobile devices.

Summary

Markdown blockquotes provide a simple way to highlight important information, quoted text, and documentation notes.

In this guide, you learned:

  • Basic blockquote syntax
  • Multi-line blockquotes
  • Nested blockquotes
  • Blockquotes with headings, lists, links, images, and code blocks
  • GitHub Notes, Tips, Warnings, and Callouts
  • Best practices
  • Common mistakes
  • Platform compatibility
  • Frequently asked questions

Whether you're writing a GitHub README, technical documentation, knowledge base, or tutorial, blockquotes help readers quickly identify key information and improve the overall readability of your content.

Continue Learning

Continue learning Markdown with these guides:

Available now

Coming soon to MDConvertHub Docs

  • Markdown HTML
  • Markdown Footnotes
  • Markdown Horizontal Rules

The best way to learn blockquotes is by writing them yourself. Open the Markdown Editor to experiment with blockquotes, nested quotes, GitHub callouts, lists, and code examples while previewing the rendered output in real time.

Frequently Asked Questions

  1. 1

    What is a Markdown blockquote?

    A Markdown blockquote is a formatting element used to highlight quoted text, important notes, tips, warnings, or references. It is created by placing a greater-than symbol (>) at the beginning of a line.

  2. 2

    How do I create a blockquote in Markdown?

    Add a greater-than symbol followed by a space before your text. Example: > This is a Markdown blockquote.

  3. 3

    Can a Markdown blockquote contain multiple paragraphs?

    Yes. Separate paragraphs with a blank line while keeping the > character at the beginning of each line.

  4. 4

    Can I nest blockquotes?

    Yes. Add another greater-than symbol for each nesting level. Nested blockquotes are useful for quoted conversations and layered explanations.

  5. 5

    Can I use lists inside blockquotes?

    Yes. Both ordered and unordered lists work inside blockquotes when each line begins with the > character.

  6. 6

    Can I add code blocks inside a blockquote?

    Yes. Fenced code blocks can be placed inside blockquotes, making them useful for tutorials, API documentation, and command examples.

  7. 7

    Are GitHub Alerts the same as blockquotes?

    GitHub Alerts are an extension of standard blockquotes available in GitHub Flavored Markdown (GFM). They support special callouts such as NOTE, TIP, IMPORTANT, WARNING, and CAUTION.

  8. 8

    Do all Markdown editors support GitHub Alerts?

    No. Standard blockquotes are supported almost everywhere, but GitHub Alerts are primarily supported on GitHub. Other Markdown editors may require plugins or custom themes.

  9. 9

    Why isn't my blockquote rendering correctly?

    Common causes include missing > characters, missing space after >, incorrect nesting, unsupported Markdown renderer, or mixing blockquotes with incorrectly indented code blocks. Preview your Markdown before publishing to verify the formatting.

  10. 10

    When should I use a blockquote?

    Use blockquotes for important notes, helpful tips, warnings, documentation highlights, referenced quotations, and best practices. Avoid using them for regular paragraphs or large sections of content.

  11. 11

    What's the difference between a blockquote and a GitHub Alert?

    A standard blockquote simply displays quoted content. A GitHub Alert is a styled blockquote that emphasizes specific message types such as notes, tips, warnings, and important information.