diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-07 22:37:49 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-01-07 22:37:49 -0800 |
commit | 1357f2859ecb128636ea7a764b70407dca4e4015 (patch) | |
tree | 5e0e289e5f2391ff612fff8036f6c11f26ae41fb | |
parent | ca7a7fa7ad536ce4e1f3004ec1e718a1d1d8b1f7 (diff) |
Made compatibility notes for setext headings into spec tests.
-rw-r--r-- | spec.txt | 35 |
1 files changed, 27 insertions, 8 deletions
@@ -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 |