numbered list bug in markdown.pl?

Joseph Lorenzo Hall joehall at gmail.com
Wed Jul 12 20:59:01 EDT 2006


On 7/12/06, Jacob Rus <jrus at hcs.harvard.edu> wrote:

> Waylan Limberg wrote:

> > On 7/9/06, Carl-Johan Kihlbom <kihlbom at gmail.com> wrote:

> >> I'm guessing it's because you have different indent levels. Try

> >> removing the spaces before 1-9.

> >

> > I'll second that. In my observation Python is very picky about the

> > four spaces of indent, while Perl seems to notice any amount of indent

> > (one space is often enough) even though the syntax[1] tells us we need

> > four spaces. To see what I mean, try adding a couple more spaces to

> > 1-9 in your example and run it through both to see what you get.

> Yes, I realize it's picking things up as multiple indentation levels,

> but I offer that this is a bug, and that python markdown has this right.


+1 as to this is a bug (or the spec should be explicit)

--
Joseph Lorenzo Hall
PhD Student, UC Berkeley, School of Information
<http://josephhall.org/>


More information about the Markdown-Discuss mailing list