aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt26
1 files changed, 23 insertions, 3 deletions
diff --git a/spec.txt b/spec.txt
index c8685dd..a2864c2 100644
--- a/spec.txt
+++ b/spec.txt
@@ -3423,9 +3423,10 @@ A list item may contain any kind of block:
</ol>
.
-A list item that contains a code block will preserve empty lines
-within the code block verbatim. Whereas, some current Markdown
-implementations add an extra blank line in the contained code block.
+A list item that contains an indented code block will preserve
+empty lines within the code block verbatim, unless there are two
+or more empty lines in a row (since as described above, two
+blank lines end the list):
.
- Foo
@@ -3444,6 +3445,25 @@ baz
</ul>
.
+.
+- Foo
+
+ bar
+
+
+ baz
+.
+<ul>
+<li>
+<p>Foo</p>
+<pre><code>bar
+</code></pre>
+</li>
+</ul>
+<pre><code> baz
+</code></pre>
+.
+
Note that ordered list start numbers must be nine digits or less:
.