Hide = when rendering inline code snippets in Emacs

In Emacs in org-mode, I can have inline code snippets, closing the snippet with the = symbol. Here is an example:

org-code in emacs org-mode

In the above example, I set up the org-code face to make the background darker than the standard text.

But is there a way for Emacs to hide the = signs? It would be great to have something like what org-mode does with links with syntax:

  [[link]] 

where Emacs displays link instead of [[link]] (see documentation ) and shows brackets only when you want to edit the link.

+4
source share
1 answer

Set org-hide-emphasis-markers to t . But note that this will also hide, for example, \ signs for italics, etc.

+5
source

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


All Articles