How to escape double quote?

后端 未结 4 1346
盖世英雄少女心
盖世英雄少女心 2020-12-19 10:45

In org mode, if I want to format text a monospace verbatim, i.e. ~...~, if it is inside quotes: ~\"...\"~, it is not formatted (left as is).

<
4条回答
  •  囚心锁ツ
    2020-12-19 11:05

    Finally, I found a solution from http://comments.gmane.org/gmane.emacs.orgmode/82571

    According to that thread, the regexp for verbatim is built from variable org-emphasis-regexp-components, which defines legal characters before, after, at the border of, or in the body of emphasis; and verbatim is one of the emphasis environment in org mode.

    A workable setting given by that thread:

    (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,")
    (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))
    

提交回复
热议问题