How can I write two separate blockquotes in sequen

2019-03-11 14:43发布

I need to place two blockquotes in sequence, however markdown combines them into a single blockquote. The only way I can get them to separate is placing some junk text between them. As this textfield allows me to use Markdown I can demonstrate:

> First Quote

> Second Quote

Results in:

First Quote

Second Quote

While using junk text:

> First Quote

.   
> Second Quote

Results in:

First Quote

.

Second Quote

I cannot use HTML tags or HTML entities. Only Markdown.

5条回答
Anthone
2楼-- · 2019-03-11 15:04

>If I try a non breaking space

 

>it line breaks; don't ask me how

Result:

If I try a non breaking space

 

it line breaks; don't ask me how

查看更多
淡お忘
3楼-- · 2019-03-11 15:15

Try this:

Use a U+200B character in-between the quotes, which is defined as a zero-length space to break up the quotes.

> Quote

​

> Quote

It looks like this:

> Quote

> Quote

查看更多
Deceive 欺骗
4楼-- · 2019-03-11 15:16

You can separate blockquotes without html elements by using comment markup <!-- --> with an extra whiteline between the blocks:

> Imagination is more important than knowledge.

<!-- -->
>  Never think of the future. It comes soon enough.

<!-- -->
> Anyone who has never made a mistake has never tried anything new.

Of course you can use any HTML elements you like as well (as noted by @pepoloan):

> Imagination is more important than knowledge.

<div></div>
>  Never think of the future. It comes soon enough.

<div></div>
> Anyone who has never made a mistake has never tried anything new.
查看更多
The star\"
5楼-- · 2019-03-11 15:16

You could use pandoc, which parses your original input as two consecutive blockquotes.

查看更多
我命由我不由天
6楼-- · 2019-03-11 15:19

An empty header, #, followed by a space also works.

> Hello World

# 

> Goodbye world

Unfortunately it isn't much better than <!-- --> But I kind of like it more, and use it.

查看更多
登录 后发表回答