diff options
-rw-r--r-- | spec.txt | 46 |
1 files changed, 15 insertions, 31 deletions
@@ -1288,45 +1288,41 @@ aaa </code></pre> . -Closing fences may be indented by 0-3 spaces: +Four spaces indentation produces an indented code block: . -``` -code -``` -. -<pre><code>code -</code></pre> -. - + ``` + aaa + ``` . +<pre><code>``` +aaa ``` -code - ``` -. -<pre><code>code </code></pre> . +Closing fences may be indented by 0-3 spaces, and their indentation +need not match that of the opening fence: + . ``` -code +aaa ``` . -<pre><code>code +<pre><code>aaa </code></pre> . . -``` -code ``` +aaa + ``` . -<pre><code>code +<pre><code>aaa </code></pre> . -But not by 4: +This is not a closing fence, because it is indented 4 spaces: . ``` @@ -1338,18 +1334,6 @@ aaa </code></pre> . -Four spaces indentation produces an indented code block: - -. - ``` - aaa - ``` -. -<pre><code>``` -aaa -``` -</code></pre> -. Code fences (opening and closing) cannot contain internal spaces: |