Block quotes with a blank line between them get merged

Waylan Limberg waylan at gmail.com
Wed Oct 18 10:18:05 EDT 2006


On 10/18/06, A. Pagaltzis <pagaltzis at gmx.de> wrote:

> * Michel Fortin <michel.fortin at michelf.com> [2006-10-18 15:45]:

> > It'd be nice too if three consecutive blank lines would clear

> > the blockquote.

>

> Two should suffice, IMO.

>

> I always found it extremely annoying that Markdown provides no

> way to express multiple consecutive blockquotes, lists or code

> blocks, other than by using workarounds like inserting comments

> or other crud like `<div style="display:none"></div>`.


I was going to bring code blocks into this discussion as well. The
same thinking applies to both and had been an annouance of mine for
some time as well.


>

> (An added problem with breaking out of code blocks is that

> Markdown considers lines consisting only of whitespace to be

> blank, so you couldn't have code blocks with consecutive blank

> lines in them.)

>

Which brings us full circle. We have code blocks and blockquotes that
may have multiple line breaks, and we have multiple blocks (code or
quotes) seperated by line breaks. How can markdown know which is
intended? I considered suggesting some "force-end-of-block" marker,
but that just doesn't seem right.


--
----
Waylan Limberg
waylan at gmail.com


More information about the Markdown-Discuss mailing list