On 7/16/07, Michel Fortin <[EMAIL PROTECTED]> wrote:
      1. Test
          1. Test
          2. Test
          3. Test
          4. Test
          5. Test
          6. Test
          7. Test
          8. Test
          9. Test
         10. Test
      2. Test

Here, using John Fraser's suggested algorithm, subitem number 10
would be sent to the first list which is indented less, which means
between item 1 and 2 of the outer list.

Nope, item 10 would be correctly sent to the nested list.  It "belongs
to the most recent list item that's indented less."  In other words,
item 1.

By "belongs to" I mean that it's a descendant of that node -- not a
sibling.  So item 10 is part of the list that's nested within item 1.

John Fraser
_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to