cmark

My personal build of CMark ✏️

Commit
ec2b9a9cf221a2475709e37d9b9a4d6e9a38f3c1
Parent
7ac3073af4b877567cc584cf0dc2dd772cb30153
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added hard-line-break anchor and links.

See #91.

Diffstat

1 file changed, 6 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified spec.txt 10 6 4
diff --git a/spec.txt b/spec.txt
@@ -2015,8 +2015,8 @@ bbb
 .
 
 Final spaces are stripped before inline parsing, so a paragraph
-that ends with two or more spaces will not end with a hard line
-break:
+that ends with two or more spaces will not end with a [hard line
+break](#hard-line-break):
 
 .
 aaa     
@@ -3818,7 +3818,8 @@ If a backslash is itself escaped, the following character is not:
 <p>\<em>emphasis</em></p>
 .
 
-A backslash at the end of the line is a hard line break:
+A backslash at the end of the line is a [hard line
+break](#hard-line-break):
 
 .
 foo\
@@ -6088,7 +6089,8 @@ Backslash escapes do not work in HTML attributes:
 ## Hard line breaks
 
 A line break (not in a code span or HTML tag) that is preceded
-by two or more spaces is parsed as a linebreak (rendered
+by two or more spaces is parsed as a [hard line
+break](#hard-line-break)<a id="hard-line-break"></a> (rendered
 in HTML as a `<br />` tag):
 
 .