cmark

My personal build of CMark ✏️

Commit
2350aec83ced79a0e7218d53a590c932cb2b59bb
Parent
90040e082b3b2c2237e2152d33f43c049af862e8
Author
John MacFarlane <jgm@berkeley.edu>
Date

Spec: Resolve hrule/setext header ambiguity.

Closes #31.

Diffstat

1 file changed, 5 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified spec.txt 7 5 2
diff --git a/spec.txt b/spec.txt
@@ -428,8 +428,11 @@ bar
 <p>bar</p>
 .
 
-Note, however, that this is a setext header, not a paragraph followed
-by a horizontal rule:
+If a line of dashes that meets the above conditions for being a
+horizontal rule could also be interpreted as the underline of a [setext
+header](#setext-header), the interpretation as a
+[setext-header](#setext-header) takes precedence. Thus, for example,
+this is a setext header, not a paragraph followed by a horizontal rule:
 
 .
 Foo