aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt18
1 files changed, 16 insertions, 2 deletions
diff --git a/spec.txt b/spec.txt
index 3d29369..fc5a9ab 100644
--- a/spec.txt
+++ b/spec.txt
@@ -827,7 +827,7 @@ Contents are parsed as inlines:
````````````````````````````````
-Leading and trailing blanks are ignored in parsing inline content:
+Leading and trailing [whitespace] is ignored in parsing inline content:
```````````````````````````````` example
# foo
@@ -1026,6 +1026,20 @@ baz*
baz</em></h1>
````````````````````````````````
+The contents are the result of parsing the headings's raw
+content as inlines. The heading's raw content is formed by
+concatenating the lines and removing initial and final
+[whitespace].
+
+```````````````````````````````` example
+ Foo *bar
+baz*→
+====
+.
+<h1>Foo <em>bar
+baz</em></h1>
+````````````````````````````````
+
The underlining can be any length:
@@ -5488,10 +5502,10 @@ Thus, for example, in
<p><code>hi</code>lo`</p>
````````````````````````````````
-
`hi` is parsed as code, leaving the backtick at the end as a literal
backtick.
+
## Backslash escapes
Any ASCII punctuation character may be backslash-escaped: