unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Colourising emphasized text in org-mode
@ 2022-01-11 23:37 fatiparty--- via Users list for the GNU Emacs text editor
       [not found] ` <MtAVGSN--3-2@tutanota.com-MtAVOsm----2>
  2022-01-12  0:16 ` Michael Heerdegen
  0 siblings, 2 replies; 5+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-01-11 23:37 UTC (permalink / raw)
  To: Help Gnu Emacs


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))))


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-12 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-11 23:37 Colourising emphasized text in org-mode fatiparty--- via Users list for the GNU Emacs text editor
     [not found] ` <MtAVGSN--3-2@tutanota.com-MtAVOsm----2>
2022-01-12  0:12   ` fatiparty--- via Users list for the GNU Emacs text editor
2022-01-12  0:16 ` Michael Heerdegen
2022-01-12  1:16   ` fatiparty--- via Users list for the GNU Emacs text editor
2022-01-12 14:36     ` Michael Heerdegen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).