From adfa8750cd771688156e0f386b980f9214c4063b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bengt=20L=C3=BCers?= Date: Fri, 12 Sep 2014 20:22:58 +0200 Subject: Add example from issue #94 about indented code block closing fences --- spec.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/spec.txt b/spec.txt index 82ae0b6..dbe779b 100644 --- a/spec.txt +++ b/spec.txt @@ -1219,6 +1219,56 @@ aaa . +Closing fences may be indented by 0-3 spaces: + +. +``` +code +``` +. +
code
+
+. + +. +``` +code + ``` +. +
code
+
+. + +. +``` +code + ``` +. +
code
+
+. + +. +``` +code + ``` +. +
code
+
+. + +But not by 4: + +. +``` +aaa + ``` +. +
aaa
+    ```
+
+. + Four spaces indentation produces an indented code block: . @@ -6133,5 +6183,3 @@ an `emph`. The document can be rendered as HTML, or in any other format, given an appropriate renderer. - - -- cgit v1.2.3