summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec.txt52
1 files 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
</code></pre>
.
+Closing fences may be indented by 0-3 spaces:
+
+.
+```
+code
+```
+.
+<pre><code>code
+</code></pre>
+.
+
+.
+```
+code
+ ```
+.
+<pre><code>code
+</code></pre>
+.
+
+.
+```
+code
+ ```
+.
+<pre><code>code
+</code></pre>
+.
+
+.
+```
+code
+ ```
+.
+<pre><code>code
+</code></pre>
+.
+
+But not by 4:
+
+.
+```
+aaa
+ ```
+.
+<pre><code>aaa
+ ```
+</code></pre>
+.
+
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.
-
-