From 943c2f353d20da99286e6487736cbccbaf1d2c72 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Fri, 12 Sep 2008 00:05:32 +0000 Subject: Changed list parser so that only the starting list marker matters: 1. one - two (b) three produces an ordered list with 1., 2., 3. This is the behavior of Markdown.pl. Modified README to document the new behavior. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1438 788f1e2b-df1e-0410-8736-df70ead52e1b --- README | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'README') diff --git a/README b/README index d5cbcb340..5f26c8a13 100644 --- a/README +++ b/README @@ -525,12 +525,13 @@ roman numerals: ii. subtwo iii. subthree -Note that Pandoc pays attention only to the *starting* number in a list. +Note that Pandoc pays attention only to the *starting* marker in a list. So, the following yields a list numbered sequentially starting from 2: (2) Two (5) Three - (2) Four + 1. Four + * Five If default list markers are desired, use '`#.`': @@ -538,24 +539,6 @@ If default list markers are desired, use '`#.`': #. two #. three -If you change list style in mid-list, Pandoc will notice and assume you -are starting a sublist. So, - - 1. One - 2. Two - A. Sub - B. Sub - 3. Three - -gets treated as if it were - - 1. One - 2. Two - A. Sub - B. Sub - 3. Three - - Definition lists ---------------- -- cgit v1.2.3