From 8b768f7701d22357815c36abf4b04d7616357e17 Mon Sep 17 00:00:00 2001 From: Jay Weisskopf Date: Mon, 5 Aug 2019 13:07:20 -0400 Subject: Clarify that new blocks are added to *container* blocks. (#598) My first attempt at writing a parser added new blocks to the last matched block, regardless if it was a container or leaf. I think it would have helped me if it had explicitly said "container" here. --- spec.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.txt b/spec.txt index 633ff11..84b97af 100644 --- a/spec.txt +++ b/spec.txt @@ -9443,7 +9443,7 @@ blocks. But we cannot close unmatched blocks yet, because we may have a blocks, we look for new block starts (e.g. `>` for a block quote). If we encounter a new block start, we close any blocks unmatched in step 1 before creating the new block as a child of the last -matched block. +matched container block. 3. Finally, we look at the remainder of the line (after block markers like `>`, list markers, and indentation have been consumed). -- cgit v1.2.3