The ` is used to close the code-inline,But how can I input following code?

enter image description here


1 Answer 1


When you need to post code with embedded back-ticks you can use double back-ticks to open and close. To include code with double back-ticks you can use triple back-ticks to open and close, etc.

Examples: a`b`c and 1.23``4, entered with ``a`b`c`` and ```1.23``4``` respectively.

When entering code with leading or trailing back-ticks add a space between the opening and closing sets and the code body.

You can also use the four-space intent code block:

  • 2
    ...and if you need to convince yourself that it works, just look at the source. Commented Oct 16, 2015 at 14:15
  • Thanks very much.^_^
    – yode
    Commented Oct 16, 2015 at 14:30

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