diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 15:36:50 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 15:36:50 -0800 |
commit | 5dd4de4e680683ee0bc3d02f2a825fba90135b2e (patch) | |
tree | 8acc2b9923b67ef25addf6095b965ce80b47d49c | |
parent | 444e83fced02401732305b00c2efb9592e1b6d9e (diff) |
Small adjustment to new test case for indented code in list.
Reworded the description, added a case with two blank lines.
-rw-r--r-- | spec.txt | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -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: . |