summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: