When I try to use underscore in my post, sometimes the preview displays my text in italics with no underscore. That confused me, and I have placed two underscores. Now the preview does not show the actual preview. For example, if I add underscore before the text, the text displayed normal text enclosed by a single star. (i.e. BOLD _italic italic)

enter image description here

However, I don't know how to use * in my text if it is used to define italic text. (i.e. *ABC). How do I use underscores and asterisks in the Stack Exchange editor literally?


1 Answer 1


_This is a test_

Here's what I'm typing to get this result:

\_This is a test\_

To use reserved characters in their literal form, simply escape them with a backslash. For an '*', I simply escape it:

\* <-- Escaped asterisk
  • 2
    should i change the tag if it is not a bug?
    – Shell
    Feb 28, 2014 at 5:53

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