I'm using the PHP port of Markdown, but I noticed the same effect on your dingus <http://daringfireball.net/projects/markdown/dingus> The problem I'm seeing is when I have an bulleted list and the last item of the list contains a block quote. The blockquote does not terminate correctly, and adding another blockquote after the list ends up extending the original blockquote. Here's what I mean: ##Heading 1 - Item 1 - Item 2 - Item 3 contains a blockquote: > quote line1 > quote line2 ##Heading 2 > This should be a new blockquote > but turns out to be just a > continuation of the first blockquote > and doesn't get indented ##Heading 3 > Another block quote here. > this one is correct This becomes... <h2>Heading 1</h2> <p><ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3 contains a blockquote:</p> <blockquote> <p>quote line1 <br /> quote line2 </li> </ul></p> <h2>Heading 2</h2> <p>This should be a separate blockquote <br /> but turns out to be just a <br /> continuation of the first blockquote <br /> and doesn't get indented</p> </blockquote> <h2>Heading 3</h2> <blockquote> <p>Another block quote here. <br /> this one is correct</p> </blockquote> I need a way to terminate that first blockquote before ##Heading 2. I just noticed in your cheetsheet that nested blockquotes within lists isn't supported, so maybe that's a no-no.
Le 8 juin 2006 ? 10:37, Eric Heimerman a ?crit :> ##Heading 1 > - Item 1 > - Item 2 > - Item 3 contains a blockquote: > > quote line1 > > quote line2Separating the blockquote with a blank line should do the trick, but then "Item 3 contains a blockquote:" will be made a paragraph. Interestingly, PHP Markdown Extra kinda "solves" your problem by *not* making a blockquote inside the list, which I think is the expected behaviour when the list item doesn't contain any paragraph. Michel Fortin michel.fortin@michelf.com http://www.michelf.com/
On 6/8/06, Eric Heimerman <eric@heimerman.org> wrote:> I'm using the PHP port of Markdown, but I noticed the same effect on > your dingus <http://daringfireball.net/projects/markdown/dingus> > The problem I'm seeing is when I have an bulleted list and the last item > of the list contains a block quote. The blockquote does not terminate > correctly, and adding another blockquote after the list ends up > extending the original blockquote.Pardon me for asking an odd question on this, but I'm in the middle of writing a big paper and so my mind is probably wrapped around too formalistic a system of writing. So, I'm just being a curious snot. When is there a need for a blockquote within a list? I don't think I've encountered this condition "in the wild," so I was curious of actual examples. Also, I generally put a blank line after headings. Does this help remedy the problem? -- Ben Wilson "Mundus vult decipi, ergo decipiatur"