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

后端 未结 7 585
滥情空心
滥情空心 2021-02-01 00:25

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 t

相关标签:
7条回答
  • 2021-02-01 01:24

    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.
    
    0 讨论(0)
提交回复
热议问题