From befdafd4caef80babc28b597106eb9fe0c6fee0a Mon Sep 17 00:00:00 2001 From: John MacFarlane <fiddlosopher@gmail.com> Date: Sat, 23 Aug 2014 13:27:26 -0700 Subject: Documented that two blank lines in fenced code block don't break list. --- TODO | 3 --- spec.txt | 17 ++++++++++++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index b0c7627..b82d07f 100644 --- a/TODO +++ b/TODO @@ -1,4 +1 @@ - give example of URL not in <> that is not linkified -- state that two blank lines INSIDE fenced code does not break - out of lists -- and make the js implementation obey this - diff --git a/spec.txt b/spec.txt index 7fd5d65..97688ff 100644 --- a/spec.txt +++ b/spec.txt @@ -2527,7 +2527,8 @@ far enough past the blockquote marker: . A list item may not contain blocks that are separated by more than -one blank line. Thus, two blank lines will end a list: +one blank line. Thus, two blank lines will end a list, unless the +two blanks are contained in a [fenced code block](#fenced-code-block). . - foo @@ -2538,6 +2539,13 @@ one blank line. Thus, two blank lines will end a list: bar + +- ``` + foo + + + bar + ``` . <ul> <li><p>foo</p> @@ -2545,6 +2553,13 @@ one blank line. Thus, two blank lines will end a list: <li><p>foo</p></li> </ul> <p>bar</p> +<ul> +<li><pre><code>foo + + +bar +</code></pre></li> +</ul> . A list item may contain any kind of block: -- cgit v1.2.3