summaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-24 18:19:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-24 18:19:54 -0700
commite8639baa2d91b653859fd8a3643c9c3127f0cece (patch)
tree2d7c1a9d74ede9426fd07da277cf9e25d899d3c1 /spec.txt
parent93d29866644ac0bd597b3491f97ae37d759f9053 (diff)
Added test case with heading in list item.
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 93335de..e72f143 100644
--- a/spec.txt
+++ b/spec.txt
@@ -3005,6 +3005,21 @@ A list item may be empty:
</ul>
.
+A list item can contain a header:
+
+.
+- # Foo
+- Bar
+ ---
+ baz
+.
+<ul>
+<li><h1>Foo</h1></li>
+<li><h2>Bar</h2>
+<p>baz</p></li>
+</ul>
+.
+
### Motivation
John Gruber's Markdown spec says the following about list items: