|
1 | 1 | --- |
2 | 2 | title: CommonMark Spec |
3 | 3 | author: John MacFarlane |
4 | | -version: 0.28 |
5 | | -date: '2017-08-01' |
| 4 | +version: 0.29 |
| 5 | +date: '2019-04-06' |
6 | 6 | license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)' |
7 | 7 | ... |
8 | 8 |
|
@@ -827,7 +827,7 @@ Contents are parsed as inlines: |
827 | 827 | ```````````````````````````````` |
828 | 828 |
|
829 | 829 |
|
830 | | -Leading and trailing blanks are ignored in parsing inline content: |
| 830 | +Leading and trailing [whitespace] is ignored in parsing inline content: |
831 | 831 |
|
832 | 832 | ```````````````````````````````` example |
833 | 833 | # foo |
@@ -1026,6 +1026,20 @@ baz* |
1026 | 1026 | baz</em></h1> |
1027 | 1027 | ```````````````````````````````` |
1028 | 1028 |
|
| 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 | + |
1029 | 1043 |
|
1030 | 1044 | The underlining can be any length: |
1031 | 1045 |
|
@@ -5488,10 +5502,10 @@ Thus, for example, in |
5488 | 5502 | <p><code>hi</code>lo`</p> |
5489 | 5503 | ```````````````````````````````` |
5490 | 5504 |
|
5491 | | - |
5492 | 5505 | `hi` is parsed as code, leaving the backtick at the end as a literal |
5493 | 5506 | backtick. |
5494 | 5507 |
|
| 5508 | + |
5495 | 5509 | ## Backslash escapes |
5496 | 5510 |
|
5497 | 5511 | Any ASCII punctuation character may be backslash-escaped: |
@@ -8686,7 +8700,7 @@ If you want a link after a literal `!`, backslash-escape the |
8686 | 8700 | as the link label. |
8687 | 8701 |
|
8688 | 8702 | 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 |
8690 | 8704 | a link to the URI, with the URI as the link's label. |
8691 | 8705 |
|
8692 | 8706 | An [absolute URI](@), |
|
0 commit comments