Emacs org escaping

Suppose I want to remove characters in org-mode, for example. _ , so org-mode displays the following:

 * _TARGET_ 

In my setup (which, in my opinion, is standard), org-mode emphasizes the word, not the _TARGET_ rendering

More generally, where can I find information on how to avoid characters in emacs org-mode?

+6
source share
3 answers

The markup code and verbatim will make the text inside as is, without interpretation. Therefore =_TARGET_= will probably work the way you intend (you will also get a different monospace font for the word).

+6
source

In current Emacs and org-mode you can try

 * \under{}TARGET\under{} 

If this does not automatically appear as * _TARGET_ , just try Cc Cx \ , which should switch the display of these encodings between coding characters and the encoded character.

(Basically the same as I explained here .)

+6
source

Alternatively, use the backslash of the normal shell to avoid the characters you want to avoid interpretation in Org mode as markup:

 * \_TARGET\_ 

Backslash characters are visible in your Emacs buffer, but hidden when exported - for example. for HTML or PDF-via-LaTeX.

This acceleration works in many other situations, for example. SR\_1234 to display as SR_1234 during export, not as an index.

+2
source

Source: https://habr.com/ru/post/926993/


All Articles