1

Possible Duplicate:
Backslash escaped with backticks rendered incorrectly in comments
Backslash escaping in code regions in comments

When trying to add a \ at the end in a code block in a comment it breaks the code block.

I've also tried to fool it by adding two \s to no avail.

7
  • 2
    `` <- single slash in code block
    – PeeHaa
    May 30 '12 at 14:34
  • \ This should work (two backticks on either side of the backslash) May 30 '12 at 14:36
  • Backslash: \​
    – Dennis
    May 30 '12 at 14:36
  • `yay! .....` ??
    – PeeHaa
    May 30 '12 at 15:05
  • @RepWhoringPeeHaa: Sorry, I forgot to add the explanation. I inserted the unicode character 'ZERO WIDTH SPACE' (U+200B) after the backslash.
    – Dennis
    May 30 '12 at 15:23
  • See this answer of mine regarding code spans in comments. @murgatroid99 is correct; the right way to do this is using two (or more) backticks on either side.
    – balpha
    May 30 '12 at 16:08
  • @balpha tnx for the reference. Feel free to delete this dupe if you feel like it :-)
    – PeeHaa
    May 30 '12 at 16:19

Browse other questions tagged .