-2

Literal code: `\`

What you see in the post body: \


Update: Your vote made me wonder if it was a problem with my browser. Isn't that what you see? The same code, but a different display.

Screenshot


Update 2: I have a comment underneath, and it used the same code above, but I can only see two backticks abreast. I suppose to see the same as in this article (a slash with gray background), just like other characters.

Can anyone leave a comment to tell me where the problem lies? Is it not clear enough or do you think this is not a bug at all?

9
  • What you see in the comment: ``
    – shingo
    Commented Jun 17, 2023 at 10:35
  • how many "\" characters did you intend to show? one or two?
    – prusswan
    Commented Jun 17, 2023 at 11:40
  • I intend to show one slash.
    – shingo
    Commented Jun 17, 2023 at 11:41
  • 1
    Then we are looking at the same thing. If you intend to show two then it gets tricky due to the escaping
    – prusswan
    Commented Jun 17, 2023 at 11:42
  • Do you mean that you can see one in my first comment?
    – shingo
    Commented Jun 17, 2023 at 11:43
  • Comment, no. Due to the escaping. You can put two `\` (you will see one) between the backticks, or just leave it as \\
    – prusswan
    Commented Jun 17, 2023 at 11:44
  • If I use two slashes I just see "backtick slash backtick" in the comment, I suppose to see the same as in the article (a slash with a gray background).
    – shingo
    Commented Jun 17, 2023 at 11:50
  • Comments and posts aren't intended to be formatted the same - hence stackoverflow.com/editing-help#comment-formatting
    – jonrsharpe
    Commented Jun 17, 2023 at 12:27
  • The highest scored (second-order) duplicate is Backslash inside backquotes in a comment. Commented Jun 17, 2023 at 22:48

1 Answer 1

-1

There is some inconsistency with the escaping that happens in the post body (what you described as article) vs comments, but not sure if this a bug.

1
  • For comparison, as a comment: ` ` (one slash but you see nothing) `\` (two slashes but you see one)
    – prusswan
    Commented Jun 17, 2023 at 12:03

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