Skip to content

Markdown Blockquotes

TL;DR

What it is

A blockquote is a container block for quoted or callout-style content. In source, it is marked with a leading >.

Why it matters

Blockquotes are common in documentation, notes, and discussions. They are also the basis for several platform-specific patterns, including GitHub alerts, so it helps to understand the core form first.

Syntax

> One paragraph quote

> First paragraph
>
> Second paragraph

Minimal example

Source

> This line is quoted.

What it does

This renders one quoted paragraph.

More examples

Example 1: One quote, multiple lines

> Markdown keeps these lines
> inside the same blockquote.

What it does

Both lines belong to the same quoted paragraph.

Example 2: Two paragraphs inside one quote

> First paragraph.
>
> Second paragraph.

What it does

The blank quoted line separates the quote into two paragraphs.

Example 3: Quote containing a list

> Steps:
> - open the file
> - make the change
> - save the file

What it does

The list stays inside the blockquote because each list line is still part of the quoted block.

Common pitfalls

Portability and platform notes

FAQ

Do I need > on every line?

Use it everywhere the quote structure requires it. A quoted paragraph can use lazy continuation in some cases, but lists, fenced code blocks, and other nested structures are much easier to manage when you keep the markers explicit.

How do I make two paragraphs in one quote?

Add a blank quoted line:

> First paragraph.
>
> Second paragraph.

How do I quote a reply on GitHub?

In GitHub conversations, you can highlight text and press R, or use the "Quote reply" action on a comment. That is a GitHub workflow feature, not a core Markdown rule.

Practice

Related topics

References