help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Colourising emphasized text in org-mode


From: fatiparty
Subject: Colourising emphasized text in org-mode
Date: Wed, 12 Jan 2022 00:37:38 +0100 (CET)

I want to colourise emphasized text in org-mode.  Am using the following code, 
but it is not taking effect.

(defface my-org-emphasis-bold
  '((default :inherit bold)
    (((class color) (min-colors 88) (background light))
     :foreground "#a60000")
    (((class color) (min-colors 88) (background dark))
     :foreground "#ff8059"))
  "My bold emphasis for Org.")

(setq org-emphasis-alist
      '(("*" my-org-emphasis-bold)
    ("/" italic)
    ("_" underline)
    ("=" org-verbatim verbatim)
    ("~" org-code verbatim)
    ("+" (:strike-through t))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]