I have problem with quotes in markdown. when i have something like this:
text
> quoted text
> > deeper layer
> > > even deeper layer
it works fine. but when there is a reply with a layer not so deep:
> quoted text
> > deeper layer
> > > even deeper layer
> > from second layer again
i see your point there
its not working as it should. its just appending the not so deeply quoted text to the current layer of blockquote.
How can i just get the layer of quotes of blockquote-tags before the current line?
Always add a "blank" line between each reply level.
(By "blank" line, I actually mean: a line with no text, but containing the same number of >
as the previous quote level.)
For example:
> Level one.
>
> > Level two.
> >
> > > Level three.
> > >
> > Level two again.
Level two continues as hard-wrapped paragraph.
The above is rendered by this website's Markdown parser/renderer as the following, which matches what you want:
Level one.
Level two.
Level three.
Level two again. Level two continues as hard-wrapped paragraph.
Always including a blank line is the more correct, more uniform approach if you have hard-wrapped paragraphs (like in your example). For more details, read my comment under the other answer, reproduced here:
@allo: In reply to, "I'm not quite sure, if the behaviour is a markdown bug."
It is not a bug, at least according to the syntax defined at daringfireball.net. Particularly, see this portion in the page: "Markdown allows you to be lazy and only put the
>
before the first line of a hard-wrapped paragraph".