Should leading and trailing spaces between backticks be preserved?

Michel Fortin michel.fortin at michelf.com
Sun Feb 13 15:49:44 EST 2011


Le 2011-02-13 à 15:31, David Chambers a écrit :


>> Well, yes, it might be wrong, but that's how the language works ("one after

>> the opening, one before the closing" is what <

>> http://daringfireball.net/projects/markdown/syntax#code> says, And it

>> gives an example (`` `foo` ``) as well.

>

> John's examples suggest that this stripping should apply only within ``

> double-backticked `` contexts. I imagine his intention was to avoid the

> leading and trailing spaces in `` `foo` `` (required by the syntax) from

> being included in the output. I can't imagine any reason to strip whitespace

> in regular ` single-backticked ` contexts.


Then what about ` ``foo`` ` ?


--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the Markdown-Discuss mailing list