From: fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Colourising emphasized text in org-mode
Date: Wed, 12 Jan 2022 00:37:38 +0100 (CET) [thread overview]
Message-ID: <MtAVGSN--3-2@tutanota.com> (raw)
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))))
next reply other threads:[~2022-01-11 23:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 23:37 fatiparty--- via Users list for the GNU Emacs text editor [this message]
[not found] ` <MtAVGSN--3-2@tutanota.com-MtAVOsm----2>
2022-01-12 0:12 ` Colourising emphasized text in org-mode 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MtAVGSN--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=fatiparty@tutanota.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).