Skip to content

Commit 9c26da7

Browse files
author
Evan Anderson
committed
Provide a test example for '---' in a code fence.
1 parent 904ec5f commit 9c26da7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

spec.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,6 +2237,26 @@ aaa
22372237
````````````````````````````````
22382238

22392239

2240+
Within a code fence, other block-level constructs such as lists or thematic
2241+
breaks are ignored.
2242+
2243+
```````````````````````````````` example
2244+
yaml:
2245+
- A
2246+
- yaml
2247+
- list
2248+
---
2249+
another: "yaml doc"
2250+
.
2251+
<pre><code>yaml:
2252+
- A
2253+
- yaml
2254+
- list
2255+
---
2256+
another: "yaml doc"</code></pre>
2257+
````````````````````````````````
2258+
2259+
22402260
Fenced code blocks can interrupt paragraphs, and can be followed
22412261
directly by paragraphs, without a blank line between:
22422262

0 commit comments

Comments
 (0)