(In the following I write <tab> because my MUA strips tabs) Consider the code: ---- Paragraph <tab> <tab> Line <tab> ---- or even: ---- Paragraph <tab><space> <tab> Line <tab> ---- Markdown.pl ignores the leading blank line in the code block. Is this intended behaviour? -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi
Andrea Censi <andrea at censi.org> wrote on 12/29/06 at 10:49 PM:> Markdown.pl ignores the leading blank line in the code block. > Is this intended behaviour?Yes. -J.G.
On 12/31/06, John Gruber <gruber at fedora.net> wrote:> Andrea Censi <andrea at censi.org> wrote on 12/29/06 at 10:49 PM: > > > Markdown.pl ignores the leading blank line in the code block. > > Is this intended behaviour? > > Yes.Is there any way in Markdown to indicate a code-block with a leading blank line? -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi
Andrea Censi <andrea at censi.org> wrote on 12/31/06 at 10:12 AM:> Is there any way in Markdown to indicate a code-block with a leading blank > line?Not really, but you could fake it with, say, a literal non-breaking space. -J.G.