aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorCraig M. Brandenburg <cbrandenburg@itracs.com>2015-12-22 14:37:47 -0700
committerCraig M. Brandenburg <cbrandenburg@itracs.com>2015-12-22 14:37:47 -0700
commit23a9b13c9f9311c6a2057e09ae1d1867f927718c (patch)
tree12977b68d8133638119395be851e85cefaf147b9 /spec.txt
parent2740e360d062c342e93f39ddbb2c4af089608c6d (diff)
New test case: list item code block with empty line
Diffstat (limited to 'spec.txt')
-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:
.