Blockquote#
Simple blockquote#
To define a blockquote, add a greater-than character (>) at line start, followed by a space.
Markdown | HTML | Rendering |
---|---|---|
| <blockquote>
<p>I'm a blockquote.</p>
</blockquote> |
|
Blockquote over several paragraphs#
To define a blockquote over several paragraphs, add a greater-than character (>) at line start, even empty (always followed by a space for lines containing text).
Markdown | HTML | Rendering |
---|---|---|
| <blockquote>
<p>I'm a blockquote.</p>
<p>And here is the rest!</p>
</blockquote> |
|
Nested blockquotes#
To define nested blockquotes, add an extra greater-than character (>) at the beginning of each line to match the level of the blockquote (always followed by a space for lines containing text).
Markdown | HTML | Rendering |
---|---|---|
| <blockquote>
<p>I'm a blockquote.</p>
<blockquote>
<p>And I'm a blockquote(ception)!</p>
</blockquote>
</blockquote> |
|
Blockquote with other elements#
To define a blockquote containing other markdown elements, normally write markdown and take into account an offset of 2 characters at line start corresponding to the blockquote (the greater-than character (>) + 1 space for lines containing text).
Markdown | HTML | Rendering |
---|---|---|
| <blockquote>
<h3>I'm the title of the blockquote.</h3>
<blockquote>
<p>And I'm a <strong>bold</strong> blockquote(ception)!</p>
</blockquote>
</blockquote> |
|