5

Tried to add a comment to a post today, which ended up looking rather weird. What I had typed was:

On windows I believe you need to use `\` instead of `/`

As you can see in the first comment to this question, I don't exactly end up with what I thought I would... What's going on here?

Tried various combinations of double \\ and double `` (which seems to be impossible to have in an inline code thing...?), but couldn't get a good result. Ended up putting a space after the slash, which at least made it readable. Problem then was that the space between the inline code and the word "instead" seems to disappear O.o

6
  • On windows I believe you need to use ` instead of /` – Svish Mar 11 '11 at 9:24
  • On windows I believe you need to use \ instead of / – balpha Mar 11 '11 at 9:27
  • Original: ` instead of /` – Svish Mar 11 '11 at 9:28
  • Double slash: \` instead of /` – Svish Mar 11 '11 at 9:28
  • Double thingy: ` instead of / – Svish Mar 11 '11 at 9:29
  • Space after slash: \ instead of / – Svish Mar 11 '11 at 9:29
7

See my answer here:

The simplest thing is to use two or more backticks to enclose the code block; this will disable any and all escaping:

On windows I believe you need to use ``\`` instead of `/`

6
  • Test: \ instead of / – Svish Mar 11 '11 at 9:30
  • Do you know where the backtick is on a standard mac keyboard running OSX SL? – mplungjan Mar 11 '11 at 9:49
  • @mplungjan: that's a new question and probably best off at superuser.com – Tobias Kienzler Mar 11 '11 at 10:03
  • @mplungjan, depending on the definition of "standard": mine has it below the tilde, to the left of the Z key. Most/many others have that same key below the Esc. – Arjan Mar 11 '11 at 10:03
  • I commented because I wanted to know this in this question - actually in all questions mentioning a backtick – mplungjan Mar 11 '11 at 10:05
  • @Arjan, I do know. I was asking whoever viewed this answer ;) – mplungjan Mar 11 '11 at 12:37

You must log in to answer this question.

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