aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-22 15:27:30 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-22 15:27:30 -0800
commit444e83fced02401732305b00c2efb9592e1b6d9e (patch)
tree12977b68d8133638119395be851e85cefaf147b9
parent2740e360d062c342e93f39ddbb2c4af089608c6d (diff)
parent23a9b13c9f9311c6a2057e09ae1d1867f927718c (diff)
Merge pull request #384 from cmbrandenburg/empty_line_code_block
New test case: list item code block with empty line
-rw-r--r--spec.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 5739953..c8685dd 100644
--- a/spec.txt
+++ b/spec.txt
@@ -3423,6 +3423,27 @@ 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.
+
+.
+- Foo
+
+ bar
+
+ baz
+.
+<ul>
+<li><p>Foo</p>
+
+<pre><code>bar
+
+baz
+</code></pre></li>
+</ul>
+.
+
Note that ordered list start numbers must be nine digits or less:
.