Skip to main content
edited tags
Link
Jarrod Dixon
  • 38.4k
  • 4
  • 131
  • 162
I know how escaping works :)
Source Link
Ry-
  • 5.1k
  • 2
  • 58
  • 84

Is there a way to type something in a comment that renders like this?

You'll need to escape it with a backslash - that is, the \ character.

I've tried various combinations, but a single backslash formatted as code seems to be impossible.
Can this be fixed, or can I be enlightened please?

And to clarify: I expect this:

You'll need to escape it with a backslash - that is, the `\\` character.

to work properly, but it doesn't. Instead, one backslash escapes the ` and I'm left with a mess.

Is there a way to type something in a comment that renders like this?

You'll need to escape it with a backslash - that is, the \ character.

I've tried various combinations, but a single backslash formatted as code seems to be impossible.
Can this be fixed, or can I be enlightened please?

Is there a way to type something in a comment that renders like this?

You'll need to escape it with a backslash - that is, the \ character.

I've tried various combinations, but a single backslash formatted as code seems to be impossible.
Can this be fixed, or can I be enlightened please?

And to clarify: I expect this:

You'll need to escape it with a backslash - that is, the `\\` character.

to work properly, but it doesn't. Instead, one backslash escapes the ` and I'm left with a mess.

added 3 characters in body; edited title
Source Link
Awesome Poodles
  • 20.7k
  • 5
  • 46
  • 91

How do you type a single backslash, code-formatted, in a comment?

Is there a way to type something in a comment that renders like this?

You'll need to escape it with a backslash - that is, the \ character.

I've tried various combinations, but a single backslash formatted as code seems to be impossible. Can
Can this be fixed, or can I be enlightened please?

How do you type a single backslash in a comment?

Is there a way to type something in a comment that renders like this?

You'll need to escape it with a backslash - that is, the \ character.

I've tried various combinations, but a single backslash formatted as code seems to be impossible. Can this be fixed, or can I be enlightened please?

How do you type a single backslash, code-formatted, in a comment?

Is there a way to type something in a comment that renders like this?

You'll need to escape it with a backslash - that is, the \ character.

I've tried various combinations, but a single backslash formatted as code seems to be impossible.
Can this be fixed, or can I be enlightened please?

Source Link
Ry-
  • 5.1k
  • 2
  • 58
  • 84
Loading