Skip to main content
1 of 2
Varaquilex
  • 3.8k
  • 11
  • 7

How to format text including " ` " character

The text I want to format is:

... that Alt Gr + ` gives | ...

into

... that Alt Gr+</kbd> gives |` ...

What I did was using <kbd> and enclose " | " with " ` " but when code formatting character is involved, it gets messy as above. How do I escape the format?

Varaquilex
  • 3.8k
  • 11
  • 7