How can I write two separate blockquotes in sequence using markdown?

隐身守侯 提交于 2019-12-02 20:00:26
Undistraction

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.
Eugene K

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.

>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

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!