How can I write two separate blockquotes in sequen

2019-03-11 14:54发布

问题:

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.

回答1:

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.


回答2:

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.



回答3:

>If I try a non breaking space

&nbsp;

>it line breaks; don't ask me how

Result:

If I try a non breaking space

 

it line breaks; don't ask me how



回答4:

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



回答5:

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