Disable specific markup in org mode

I want strikethrough to be disabled when I type +org-mode in a document. In particular, this is for entries in a table. Is there an easy way to do this for a specific document in org-mode, since I want to disable it for only one document. If there was no way to switch it would be good.

I know that I may have a literal +character \plus, but I would like to see it in the document, and not read it \plus.

+4
source share
4 answers

You can install org-emphasis-alistfor only one file:

-*- org-emphasis-alist: nil -*-

+not struckout+

, (, ..). , ( , , alist ).

+1

, :

-*- org-emphasis-alist: (("*" bold) ("/" italic) ("_" underline) ("=" org-verbatim verbatim) ("~" org-code verbatim) ("+" (:strike-through nil))); -*-

- , , (. ). , .

org :

(setq org-emphasis-alist (quote (("*" bold "<b>" "</b>")
                                 ("/" italic "<i>" "</i>")
                                 ("_" underline "<span style=\"text-decoration:underline;\">" "</span>")
                                 ("=" org-code "<code>" "</code>" verbatim)
                                 ("~" org-verbatim "<code>" "</code>" verbatim))))

: - ( )

+7

,

# Local Variables:
# org-emphasis-alist: (everything but strike through)
# End:
+2

, , (+) plus (\plus). "Auto Overlays",

, ( ) ,

( ).

. Emacs 24 Marmalade Repo, predictive

M-x package-install RET predictive RET

, -, "".

.

+1

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


All Articles