Skip to content

Commit a0bf9c9

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

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

spec.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,6 +2237,29 @@ 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+
```
2245+
yaml:
2246+
- A
2247+
- yaml
2248+
- list
2249+
---
2250+
another: "yaml doc"
2251+
```
2252+
.
2253+
<pre><code>yaml:
2254+
- A
2255+
- yaml
2256+
- list
2257+
---
2258+
another: &quot;yaml doc&quot;
2259+
</code></pre>
2260+
````````````````````````````````
2261+
2262+
22402263
Fenced code blocks can interrupt paragraphs, and can be followed
22412264
directly by paragraphs, without a blank line between:
22422265

0 commit comments

Comments
 (0)