diff options
author | Bengt Lüers <bengt.lueers@gmail.com> | 2014-09-12 20:22:58 +0200 |
---|---|---|
committer | Bengt Lüers <bengt.lueers@gmail.com> | 2014-09-12 20:29:39 +0200 |
commit | adfa8750cd771688156e0f386b980f9214c4063b (patch) | |
tree | 51b5d499732dcf4c560d418a000079818b911af3 | |
parent | 2cf0750a7a507eded4cf3c9a48fd1f924d0ce538 (diff) |
Add example from issue #94 about indented code block closing fences
-rw-r--r-- | spec.txt | 52 |
1 files changed, 50 insertions, 2 deletions
@@ -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. - - |