43 lines
1.3 KiB
Markdown
43 lines
1.3 KiB
Markdown
|
|
# Markdown Blockquotes
|
||
|
|
## Basic Syntax
|
||
|
|
Add the `>` symbol followed by a **space** at the start of a paragraph.
|
||
|
|
You only need to use `>` on the first line, and the rest of the content will be automatically included in the blockquote.
|
||
|
|
```
|
||
|
|
> I love Spurs
|
||
|
|
> I bet they're going to win the championship.
|
||
|
|
```
|
||
|
|
> I love Spurs
|
||
|
|
> I bet they're going to win the championship.
|
||
|
|
## Nested Blockquotes
|
||
|
|
Blockquotes support nesting. Use one `>` for the outermost layer, two `>` for the first nested layer, and so on.
|
||
|
|
```
|
||
|
|
> I love Spurs
|
||
|
|
>> I bet they're going to win the championship.
|
||
|
|
```
|
||
|
|
> I love Spurs
|
||
|
|
>> I bet they're going to win the championship.
|
||
|
|
## Use Lists inside Blockquotes
|
||
|
|
> Use lists in blockquotes
|
||
|
|
> 1. First item
|
||
|
|
> 2. Second item
|
||
|
|
> + First item
|
||
|
|
> + Second item
|
||
|
|
> + Third item
|
||
|
|
|
||
|
|
## Use Blockquotes inside Lists
|
||
|
|
To insert a blockquote within a list item, indent **four spaces** before the `>` symbol.
|
||
|
|
|
||
|
|
Here is an example of blockquotes inside lists:
|
||
|
|
```
|
||
|
|
* First item
|
||
|
|
> I love Spurs.
|
||
|
|
> I bet they're going to win the championship.
|
||
|
|
* Second item
|
||
|
|
```
|
||
|
|
* First item
|
||
|
|
> I love Spurs.
|
||
|
|
> I bet they're going to win the championship.
|
||
|
|
* Second item
|
||
|
|
## Other Elements in Blockquotes
|
||
|
|
Blockquotes support nearly all other Markdown elements, so you can display various types of content inside them.
|