summaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-25 17:59:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-25 18:00:02 -0700
commitec2b9a9cf221a2475709e37d9b9a4d6e9a38f3c1 (patch)
treec4b62dab47da64291071602fd93992b202919bbc /spec.txt
parent7ac3073af4b877567cc584cf0dc2dd772cb30153 (diff)
Added hard-line-break anchor and links.
See #91.
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/spec.txt b/spec.txt
index c77f210..34d7f2a 100644
--- 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):
.