如何使用markdown依次编写两个单独的块引用? [英] How can I write two separate blockquotes in sequence using markdown?

查看:102
本文介绍了如何使用markdown依次编写两个单独的块引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要按顺序放置两个块引用,但是markdown将它们合并为一个块引用.我可以将它们分开的唯一方法是在它们之间放置一些垃圾文本.由于此文本字段允许我使用Markdown,因此我可以演示:

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

结果:

第一个报价

First Quote

第二个报价

使用垃圾文本时:

> First Quote

.   
> Second Quote

结果:

第一个报价

First Quote

.

第二个报价

Second Quote

我不能使用HTML标记或HTML实体.仅限Markdown.

推荐答案

您可以使用注释标记<!-- -->在块之间使用多余的白线来分隔不带html元素的块引用:

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.

当然,您也可以使用任何喜欢的HTML元素(如@pepoloan所述):

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.

这篇关于如何使用markdown依次编写两个单独的块引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆