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

I am fully aware that the information about how to escape backticks in inline code is on this page:


But since backticks are so commonly used on stackoverflow, I don't see why it should be so difficult to find. That page is very long already, but this one is pretty basic functionality, especially since backticks are so common in MySQL and C#.

  • Escaping a backtick within inline code: This`is`not`straightforward

  • But if you want to do adjacent backticks: You have to use``three backticks

  • How to do multiple backticks at the beginning of a line... You have to pick the number of backticks that's larger than your smallest number of backticks: ``This is a triple double backtick``

  • Whitespace removal problems (`` ` ``) -> (`)

  • Displaying`backticks`in`plain`text`is`a`totally`different`escaping`system

I think this information should be added to the advanced help page, especially because a lot of the above is not on the Daring Fireball page.

I believe that this is not a duplicate of this thread or any of the other threads on this subject for several reasons, including:

  1. I'm asking for a feature request, as most of the other questions on this subject are asking "how do I do this" not "please add it to the help" like I am.
  2. More in-depth discussion on why the Daring Fireball page is insufficient
  3. Mention of MySQL and C# as specific places where backticking can be a problem
share|improve this question
Also, in Haskell, backticks are used to apply a function infix: 17 `div` 7 instead of div 17 7. –  Daniel Fischer Nov 27 '12 at 14:35

1 Answer 1

up vote 6 down vote accepted

As far as the in-editor (or drop-down) help goes, this is getting a definite "no". That version of the help is supposed to be short and for the most common things.

I don't know about MySQL, but claiming "backticks are so common in C#" is a bit of a stretch, since they really only appear when you do reflection on generic types that are overloaded by their arity.

Secondly, in code blocks (where you'll find most of the code) this is of course not even an issue.

Thirdly, Gruber's Markdown page does indeed mention this:

To include a literal backtick character within a code span, you can use multiple backticks as the opening and closing delimiters:

``There is a literal backtick (`) here.``

which will produce this:

<p><code>There is a literal backtick (`) here.</code></p>

(he also goes on to discuss the spaces-at-beginning-and-end thing).

I agree with you on adding the above to http://stackoverflow.com/editing-help#code, but only that part – any more than that can only make the text longer and more confusing without any gain.

So that part will be after the next build; the rest is .

Oh, and here's a little – undocumented, as far as I know :) – tip: You say

You have to pick the number of backticks that's larger than your smallest number of backticks:

You don't actually have to. It just has to be a number that's different from the length of any sequence of backticks you use in the code, i.e. this:

` ``This is a triple double backtick`` `

gives the same result as your example.

share|improve this answer
Great answer! I don't want to change the drop down help, only the FAQ page that you linked in your answer. I'm going to edit my post... if you give me the tag status-planned I'll check mark your answer. –  durron597 Nov 27 '12 at 15:15
Nope, the change is already checked in, so this is completed, not planned :) This is what the corresponding section looks like after the next build: i.stack.imgur.com/LdHia.png –  balpha Nov 27 '12 at 15:31
Haha, that works, ok, I just wanted any moderator tag really :) –  durron597 Nov 27 '12 at 15:32

You must log in to answer this question.

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