[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make change the appearance of org-date inside a drawer?
From: |
Ihor Radchenko |
Subject: |
Re: How to make change the appearance of org-date inside a drawer? |
Date: |
Sat, 07 Jan 2023 09:16:13 +0000 |
William Denton <wtd@pobox.com> writes:
> describe-char there tells me the timestamp has the face org-date. Is there a
> way to make org-date smaller when it's in a drawer? I don't want to make a
> global setting for it, because I often use dates in headings.
Not yet.
For now, you can use `org-font-lock-set-keywords-hook' to add a custom
font-lock keyword that will check if point is in drawer and apply
alternative timestamp face.
See `font-lock-keywords' docstring. It is long and not very easy to
understand, but the options are flexible enough to achieve anything you
want.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>