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, 2012 at 14:34
  • \ This should work (two backticks on either side of the backslash) May 30, 2012 at 14:36
  • Backslash: \​
    – Dennis
    May 30, 2012 at 14:36
  • `yay! .....` ??
    – PeeHaa
    May 30, 2012 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, 2012 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 StaffMod
    May 30, 2012 at 16:08
  • @balpha tnx for the reference. Feel free to delete this dupe if you feel like it :-)
    – PeeHaa
    May 30, 2012 at 16:19

0

Browse other questions tagged .