aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-08-23 13:27:26 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-08-23 13:27:46 -0700
commitbefdafd4caef80babc28b597106eb9fe0c6fee0a (patch)
treeb948b3e18931d99b3a1e417e028161179af68562
parent31cca8ff6df2a2d3d37be629ef1defdbf35202c3 (diff)
Documented that two blank lines in fenced code block don't break list.
-rw-r--r--TODO3
-rw-r--r--spec.txt17
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: