14

My first question here.

Displaying backticks is apparently difficult. But it's not, just surround the inline code by more backticks than those that appear (concatenated) in the code. E.g., If you want ` you need to write `` ` ``, and if you want ````` you need `````` ````` ``````. This is not so clean, but “works”.

Now try that on a comment. Does it work?

It seems that in a comment you need to use the usual markdown convention of escaping backticks, that is, if you want ` you need `\`` (and the same for ```, you need `\`\`\``.

So… the question is, is there a reason for this? Why not the same on both questions and answers? I see ` written “bad” all the times, but this behaviour is even more confusing.

1

1 Answer 1

12

According to the help on Markdown, StackExchange has programmed "[comments to] support only bold, italic, code and links; in addition, a few shorthand links [...]".

Comments, in general, should be used only or limited interaction between posters and other contributors. As such, providing the same markdown capabilities has (most likely) been decided as not necessary. Perhaps the same goes for its implementation.

My conclusion is therefore that this is .

2
  • 1
    So this means that the question/answer system is a feature?
    – Manuel
    Jul 20, 2014 at 15:17
  • @Manuel: Questions/answers (posts) are covered by the full markdown, while comments are covered by a reduced subset of this, plus some SE-specific add-ons. That's all I'm saying.
    – Werner Mod
    Jul 20, 2014 at 16:31

You must log in to answer this question.

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