all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.