From cffc51b19828d67b246cb367da3b8b45270e5a62 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 4 Apr 2019 22:05:00 -0700 Subject: Update spec. --- test/spec.txt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/test/spec.txt b/test/spec.txt index 4a3923e..6384390 100644 --- a/test/spec.txt +++ b/test/spec.txt @@ -248,7 +248,7 @@ satisfactory replacement for a spec. Because there is no unambiguous spec, implementations have diverged considerably. As a result, users are often surprised to find that -a document that renders one way on one system (say, a github wiki) +a document that renders one way on one system (say, a GitHub wiki) renders differently on another (say, converting to docbook using pandoc). To make matters worse, because nothing in Markdown counts as a "syntax error," the divergence often isn't discovered right away. @@ -1872,7 +1872,7 @@ Code fences (opening and closing) cannot contain internal spaces: ``` ``` aaa . -

+

aaa

```````````````````````````````` @@ -5758,7 +5758,8 @@ following ways: - First, [line endings] are converted to [spaces]. - If the resulting string both begins *and* ends with a [space] - character, a single [space] character is removed from the + character, but does not consist entirely of [space] + characters, a single [space] character is removed from the front and back. This allows you to include code that begins or ends with backtick characters, which must be separated by whitespace from the opening or closing backtick strings. @@ -5818,6 +5819,16 @@ stripped in this way:

 b 

```````````````````````````````` +No stripping occurs if the code span contains only spaces: + +```````````````````````````````` example +` ` +` ` +. +

  +

+```````````````````````````````` + [Line endings] are treated like spaces: -- cgit v1.2.3