cmark

My personal build of CMark ✏️

Commit
e8639baa2d91b653859fd8a3643c9c3127f0cece
Parent
93d29866644ac0bd597b3491f97ae37d759f9053
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added test case with heading in list item.

Diffstat

1 file changed, 15 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified spec.txt 15 15 0
diff --git 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: