Re: Multiline code block within a list

2011-11-07 Thread Waylan Limberg
On Mon, Nov 7, 2011 at 7:01 PM, John MacFarlane wrote: > The alternate rule (described in my last email) seems equally reasonable to > me, > and the official markdown syntax description doesn't distinguish between > them. (It never says explicitly that all spaces after the asterisk are > ignored

Re: Multiline code block within a list

2011-11-07 Thread John MacFarlane
+++ Waylan Limberg [Nov 07 11 16:24 ]: > On Mon, Nov 7, 2011 at 3:55 PM, Thomas Leitner wrote: > > On 2011-11-08 01:08 +0800 Ryan Chan wrote: > >> Actually this is one of the limitation that I went to reST...sad to > >> hear the suitation is still the same.. > > > > Not with every implementation.

Re: Multiline code block within a list

2011-11-07 Thread Waylan Limberg
On Mon, Nov 7, 2011 at 3:55 PM, Thomas Leitner wrote: > On 2011-11-08 01:08 +0800 Ryan Chan wrote: >> Actually this is one of the limitation that I went to reST...sad to >> hear the suitation is still the same.. > > Not with every implementation. You can do this easily with kramdown: > > ~

Re: Multiline code block within a list

2011-11-07 Thread John MacFarlane
discount, PHP markdown, lunamark, pandoc2, and possibly others allow a code block as sole list item; you just need make sure that the text starts in the 8th column (where the list marker is the 1st column): * hi hi hi hi The ``` syntax for code blocks is a github addition, not

Re: Multiline code block within a list

2011-11-07 Thread Thomas Leitner
On 2011-11-08 01:08 +0800 Ryan Chan wrote: > Actually this is one of the limitation that I went to reST...sad to > hear the suitation is still the same.. Not with every implementation. You can do this easily with kramdown: * for * bar * Code 1 (8 spaces) Code

Re: Multiline code block within a list

2011-11-07 Thread Ryan Chan
Actually this is one of the limitation that I went to reST...sad to hear the suitation is still the same.. On Mon, Nov 7, 2011 at 11:03 PM, Waylan Limberg wrote: > On Sun, Nov 6, 2011 at 10:11 PM, Ryan Chan wrote: >> Hello, >> >> How to correctly made multiline code block within a list, like.. >

Re: Multiline code block within a list

2011-11-07 Thread Waylan Limberg
On Sun, Nov 6, 2011 at 10:11 PM, Ryan Chan wrote: > Hello, > > How to correctly made multiline code block within a list, like.. > > >  * foo >  * bar >  * ``` Code 1 > Code 2 > Code 3 > ``` >  * Another list item > > > The above markup is not working, what I want is Code 1, Code 2 and > Code 3 app