If the application you are using does not properly implement the markdown spec, what you can do is put invisible Unicode characters in between the backticks. You can copy them from various websites and paste them. See here for example.