diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 15:27:30 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 15:27:30 -0800 |
commit | 444e83fced02401732305b00c2efb9592e1b6d9e (patch) | |
tree | 12977b68d8133638119395be851e85cefaf147b9 | |
parent | 2740e360d062c342e93f39ddbb2c4af089608c6d (diff) | |
parent | 23a9b13c9f9311c6a2057e09ae1d1867f927718c (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.txt | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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: . |