Markdown development

John MacFarlane jgm at berkeley.edu
Sat Mar 6 01:46:36 EST 2010


+++ david parsons [Mar 06 10 04:33 ]:

> In article <20100306020548.GB314 at protagoras.phil.berkeley.edu>,

> John MacFarlane <markdown-discuss at six.pairlist.net> wrote:

>

> >`a`

> >

> >should render as

> >

> ><code>a</code>

> >

> >but discount (at least the version on babelmark) renders it as

>

> The version on Babelmark might be a little out of date; the

> 1.6 series doesn't leave that tick hanging.


Although discount 1.6.2 doesn't leave the tick hanging, it's still not
right, I think:

./markdown -V
markdown: discount 1.6.2
./markdown
`hi\`
<p>`hi`</p>

But you should get:

<p><code>hi\</code></p>

--at least according to the reference implementation (and most
others). Backslashes don't escape `s inside code spans.

John



More information about the Markdown-Discuss mailing list