Search code examples
emacsorg-mode

Escaping characters in Emacs org-mode


Say I want to escape characters in org-mode, e.g. _ so that org-mode renders the following:

* _TARGET_

In my set up (which I think is the default one) org-mode underlines the word as opposed to rendering _TARGET_

More generally, where can I find information about how to escape characters in Emacs org-mode?


Solution

  • The code and verbatim markup will render the text inside as-is, without interpretation. Therefore, =_TARGET_= will probably work as you intend (you'll also get a different monospace typeface for that word).