The Dead Simple Markdown Guide to Blockquotes

In Markdown, create blockquotes by adding > before a paragraph. For multiple paragraphs, add > to the blank lines between them. To nest blockquotes, use >>. You can also include other Markdown elements within blockquotes. Ensure to add blank lines before and after blockquotes for compatibility.


This content originally appeared on HackerNoon and was authored by Typesetting

Blockquotes

To create a blockquote, add a > in front of a paragraph.

\

> Dorothy followed her through many of the beautiful rooms in her castle.

\ The rendered output looks like this:

\

Dorothy followed her through many of the beautiful rooms in her castle.

Blockquotes with Multiple Paragraphs

Blockquotes can contain multiple paragraphs. Add a > on the blank lines between the paragraphs.

\

> Dorothy followed her through many of the beautiful rooms in her castle.
>
> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

\ The rendered output looks like this:

\

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

Nested Blockquotes

Blockquotes can be nested. Add a >> in front of the paragraph you want to nest.

\

> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

\ The rendered output looks like this:

\

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

\n

Blockquotes with Other Elements

Blockquotes can contain other Markdown formatted elements. Not all elements can be used — you’ll need to experiment to see which ones work.

\

> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
>  *Everything* is going according to **plan**.

\ The rendered output looks like this:

The quarterly results look great!

  • Revenue was off the chart.
  • Profits were higher than ever.

Everything is going according to plan.

\

Blockquotes Best Practices

For compatibility, put blank lines before and after blockquotes.

\

| ✅ Do this | ❌ Don't do this | |----|----| | Try to put a blank line before... \n \n > This is a blockquote \n \n ...and after a blockquote. | Without blank lines, this might not look right. \n > This is a blockquote \n Don't do this! |

\

:::info This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license.

:::

\


This content originally appeared on HackerNoon and was authored by Typesetting


Print Share Comment Cite Upload Translate Updates
APA

Typesetting | Sciencx (2024-08-20T15:49:12+00:00) The Dead Simple Markdown Guide to Blockquotes. Retrieved from https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/

MLA
" » The Dead Simple Markdown Guide to Blockquotes." Typesetting | Sciencx - Tuesday August 20, 2024, https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/
HARVARD
Typesetting | Sciencx Tuesday August 20, 2024 » The Dead Simple Markdown Guide to Blockquotes., viewed ,<https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/>
VANCOUVER
Typesetting | Sciencx - » The Dead Simple Markdown Guide to Blockquotes. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/
CHICAGO
" » The Dead Simple Markdown Guide to Blockquotes." Typesetting | Sciencx - Accessed . https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/
IEEE
" » The Dead Simple Markdown Guide to Blockquotes." Typesetting | Sciencx [Online]. Available: https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/. [Accessed: ]
rf:citation
» The Dead Simple Markdown Guide to Blockquotes | Typesetting | Sciencx | https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-blockquotes/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.