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
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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.