- Commit
- 1445aa8be51a80dc66152ab542887f0e85277b97
- Parent
- c075a56436470061ffff9cf2ce7529984049e09e
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Updated spec.txt.
My personal build of CMark ✏️
Updated spec.txt.
1 file changed, 27 insertions, 8 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/spec.txt | 35 | 27 | 8 |
diff --git a/test/spec.txt b/test/spec.txt @@ -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