What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

So even yesterday (14/09/12), I could add comments with code embedded between them using the ` key. But now, it doesn't seem to work anymore. Is this an intentional removal?

share|improve this question
Any examples? – animuson Sep 16 '12 at 7:04

1 Answer 1

up vote 5 down vote accepted

Are you referring to this comment?

Try this for your error handler: ` or die (mysql_error());`, then tell us the result.

Yeah. For some reason, they aren't parsed into <code> tags when there are spaces around them within comments, but do so just fine in answers. I escaped them above for illustration; here's the same comment in the answer field without the escape characters:

Try this for your error handler: or die (mysql_error());, then tell us the result.

I'm not sure if this is a bug or by design though. Maybe one of the devs can shed some light on this.

share|improve this answer
thanks a lot Daniel! Also, how did you know it was that one? – think123 Sep 16 '12 at 7:08
@think123: I just skimmed through your comment activity and that particular one caught my eye. – BoltClock's a Unicorn Sep 16 '12 at 7:09
Yep that should be right. I'll mark it as the accepted answer when I can. – think123 Sep 16 '12 at 7:10
I guess this is by design. If you want to use backticks inside Markdown code, then you start with a group of backticks and a space, and close with the same thing backwards. I guess that's why the space still is special in mini Markdown too, though in comments one needs to escape the backtick to show it in code. – Arjan Sep 16 '12 at 8:21
I only play a dev on TV, but yeah, this is bydesign (and the same holds true for the []() link syntax) – Tim Stone Sep 16 '12 at 14:18
@Tim Stone: Is this applicable only to comments and not posts? That entire question revolves around Markdown in comments, but Jeff didn't mention if it was applicable to posts as well... – BoltClock's a Unicorn Sep 16 '12 at 14:26
Yeah, posts are unaffected. – Tim Stone Sep 16 '12 at 14:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .