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

SyntaxMarkdownQuote

Syntax Problem Overview


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.

Syntax Solutions


Solution 1 - Syntax

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.

Solution 2 - Syntax

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.

Solution 3 - Syntax

>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

Solution 4 - Syntax

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

Solution 5 - Syntax

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

Solution 6 - Syntax

From experimenting, I found these to work also. Note they are not legal HTML or Markdown, but they seem do to the job:

<!

<$

</

<a

Solution 7 - Syntax

One way to do so is by just adding </> after first blockquote followed by a newline. And by this way nothing gets printed as well. > First quote

> Second Quote

Solution 8 - Syntax

You have something like your first block quote, then 2 enters and on the second enter give a # symbol for Heading but leave the heading blank and then you next quote in next line.

> This is one quote

> This is another quote

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionUndistractionView Question on Stackoverflow
Solution 1 - SyntaxUndistractionView Answer on Stackoverflow
Solution 2 - SyntaxEugene KView Answer on Stackoverflow
Solution 3 - SyntaxAsad SaeeduddinView Answer on Stackoverflow
Solution 4 - SyntaxjustderbView Answer on Stackoverflow
Solution 5 - SyntaxJohn MacFarlaneView Answer on Stackoverflow
Solution 6 - SyntaxZomboView Answer on Stackoverflow
Solution 7 - SyntaxRahul YadavView Answer on Stackoverflow
Solution 8 - SyntaxRahul YadavView Answer on Stackoverflow