From 5976351c4da21f429648abf986954ad45c9fbcd7 Mon Sep 17 00:00:00 2001
From: John MacFarlane
Date: Mon, 8 Jun 2015 11:00:25 -0700
Subject: Clarified lazy block quote examples. (Closes #328.)
---
spec.txt | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
(limited to 'spec.txt')
diff --git a/spec.txt b/spec.txt
index 6fde458..4fff84d 100644
--- a/spec.txt
+++ b/spec.txt
@@ -2335,9 +2335,16 @@ foo
.
-Laziness only applies to lines that are continuations of
-paragraphs. Lines containing characters or indentation that indicate
-block structure cannot be lazy.
+Laziness only applies to lines that would have been continuations of
+paragraphs had they been prepended with `>`. For example, the
+`>` cannot be omitted in the second line of
+
+``` markdown
+> foo
+> ---
+```
+
+without changing the meaning:
.
> foo
@@ -2349,6 +2356,15 @@ block structure cannot be lazy.
.
+Similarly, if we omit the `>` in the second line of
+
+``` markdown
+> - foo
+> - bar
+```
+
+then the block quote ends after the first line:
+
.
> - foo
- bar
@@ -2363,6 +2379,9 @@ block structure cannot be lazy.
.
+For the same reason, we can't omit the `>` in front of
+subsequent lines of an indented or fenced code block:
+
.
> foo
bar
--
cgit v1.2.3