Markdown comments

John Gruber gruber at fedora.net
Mon Sep 18 11:11:06 EDT 2006


Daniel Lawson <dlawson at alumni.kzoo.edu> wrote on 9/17/06 at 11:27 PM:


> > For compatibility, the string "--" (double-hyphen) must not

> > occur within comments.

>

> That stinks if you're trying to comment out any section of a web page

> that contains code using the decrement operator.


Yup.

If they wanted to go for SGML compatibility with `<!-- … -->`
comments, fine, but then I think they should have included a new
comment style that simple works from "start" to "end" with no
other rules whatsoever.

-J.G.


More information about the Markdown-Discuss mailing list