aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec.txt55
1 files changed, 47 insertions, 8 deletions
diff --git a/spec.txt b/spec.txt
index 08ce0a5..5e782f3 100644
--- a/spec.txt
+++ b/spec.txt
@@ -5049,11 +5049,9 @@ item:
- b
- c
- d
- - e
- - f
- - g
- - h
-- i
+ - e
+ - f
+- g
.
<ul>
<li>a</li>
@@ -5063,8 +5061,6 @@ item:
<li>e</li>
<li>f</li>
<li>g</li>
-<li>h</li>
-<li>i</li>
</ul>
````````````````````````````````
@@ -5074,7 +5070,7 @@ item:
2. b
- 3. c
+ 3. c
.
<ol>
<li>
@@ -5089,6 +5085,49 @@ item:
</ol>
````````````````````````````````
+Note, however, that list items may not be indented more than
+three spaces. Here `- e` is treated as a paragraph continuation
+line, because it is indented more than three spaces:
+
+```````````````````````````````` example
+- a
+ - b
+ - c
+ - d
+ - e
+.
+<ul>
+<li>a</li>
+<li>b</li>
+<li>c</li>
+<li>d
+- e</li>
+</ul>
+````````````````````````````````
+
+And here, `3. c` is treated as in indented code block,
+because it is indented four spaces and preceded by a
+blank line.
+
+```````````````````````````````` example
+1. a
+
+ 2. b
+
+ 3. c
+.
+<ol>
+<li>
+<p>a</p>
+</li>
+<li>
+<p>b</p>
+</li>
+</ol>
+<pre><code>3. c
+</code></pre>
+````````````````````````````````
+
This is a loose list, because there is a blank line between
two of the list items: