Should leading and trailing spaces between backticks be preserved?
David Chambers
david.chambers.05 at gmail.com
Sun Feb 13 16:14:18 EST 2011
>
> Then what about ` ``foo`` ` ?
Excellent point. That I had not considered. Perhaps what I'm trying to
achieve is simply not possible using pure Markdown.
*Edge cases.* >.<
On 13 February 2011 12:49, Michel Fortin <michel.fortin at michelf.com> wrote:
> 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/
>
>
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20110213/adaf2dc9/attachment.html>
More information about the Markdown-Discuss
mailing list