Permalink
Browse files

Made compatibility notes for setext headings into spec tests.

  • Loading branch information...
jgm committed Jan 8, 2016
1 parent ca7a7fa commit 1357f2859ecb128636ea7a764b70407dca4e4015
Showing with 27 additions and 8 deletions.
  1. +27 −8 spec.txt
View
@@ -1105,44 +1105,63 @@ increases the expressive power of CommonMark, by allowing
multiline headings. Authors who want interpretation 1 can
put a blank line after the first paragraph:
``` markdown
.
Foo
bar
---
baz
```
.
<p>Foo</p>
<h2>bar</h2>
<p>baz</p>
.
Authors who want interpretation 2 can put blank lines around
the thematic break,
``` markdown
.
Foo
bar
---
baz
```
.
<p>Foo
bar</p>
<hr />
<p>baz</p>
.
or use a thematic break that cannot count as a [setext heading
line], such as
``` markdown
.
Foo
bar
* * *
baz
```
.
<p>Foo
bar</p>
<hr />
<p>baz</p>
.
Authors who want interpretation 3 can use backslash escapes:
``` markdown
.
Foo
bar
\---
baz
```
.
<p>Foo
bar
---
baz</p>
.
## Indented code blocks

0 comments on commit 1357f28

Please sign in to comment.