Skip to content

Commit 5d4928a

Browse files
committed
Update spec.
1 parent b93c388 commit 5d4928a

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

test/spec.txt

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: CommonMark Spec
33
author: John MacFarlane
4-
version: 0.28
5-
date: '2017-08-01'
4+
version: 0.29
5+
date: '2019-04-06'
66
license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'
77
...
88

@@ -827,7 +827,7 @@ Contents are parsed as inlines:
827827
````````````````````````````````
828828

829829

830-
Leading and trailing blanks are ignored in parsing inline content:
830+
Leading and trailing [whitespace] is ignored in parsing inline content:
831831

832832
```````````````````````````````` example
833833
# foo
@@ -1026,6 +1026,20 @@ baz*
10261026
baz</em></h1>
10271027
````````````````````````````````
10281028

1029+
The contents are the result of parsing the headings's raw
1030+
content as inlines. The heading's raw content is formed by
1031+
concatenating the lines and removing initial and final
1032+
[whitespace].
1033+
1034+
```````````````````````````````` example
1035+
Foo *bar
1036+
baz*→
1037+
====
1038+
.
1039+
<h1>Foo <em>bar
1040+
baz</em></h1>
1041+
````````````````````````````````
1042+
10291043

10301044
The underlining can be any length:
10311045

@@ -5488,10 +5502,10 @@ Thus, for example, in
54885502
<p><code>hi</code>lo`</p>
54895503
````````````````````````````````
54905504

5491-
54925505
`hi` is parsed as code, leaving the backtick at the end as a literal
54935506
backtick.
54945507

5508+
54955509
## Backslash escapes
54965510

54975511
Any ASCII punctuation character may be backslash-escaped:
@@ -8686,7 +8700,7 @@ If you want a link after a literal `!`, backslash-escape the
86868700
as the link label.
86878701

86888702
A [URI autolink](@) consists of `<`, followed by an
8689-
[absolute URI] not containing `<`, followed by `>`. It is parsed as
8703+
[absolute URI] followed by `>`. It is parsed as
86908704
a link to the URI, with the URI as the link's label.
86918705

86928706
An [absolute URI](@),

0 commit comments

Comments
 (0)