From a0bf9c9a4cb71c7d5899c094996e4d5e2799856b Mon Sep 17 00:00:00 2001 From: Evan Anderson Date: Wed, 29 Jul 2020 10:30:21 -0700 Subject: [PATCH] Provide a test example for '---' in a code fence. --- spec.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/spec.txt b/spec.txt index e1c13cf0..fce1a0ea 100644 --- a/spec.txt +++ b/spec.txt @@ -2237,6 +2237,29 @@ aaa ```````````````````````````````` +Within a code fence, other block-level constructs such as lists or thematic +breaks are ignored. + +```````````````````````````````` example +``` +yaml: +- A +- yaml +- list +--- +another: "yaml doc" +``` +. +
yaml:
+- A
+- yaml
+- list
+---
+another: "yaml doc"
+
+```````````````````````````````` + + Fenced code blocks can interrupt paragraphs, and can be followed directly by paragraphs, without a blank line between: