[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] (cosmetic) improving block declaration colors
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] (cosmetic) improving block declaration colors |
Date: |
Wed, 08 Jun 2022 21:50:36 +0800 |
Phil Estival <pe@7d.nz> writes:
> Having several programming books converted to org,
> I read a lot of begin/end_src expressions. The
> following patch helps lessen the visibility of
> those terms: they are syntax tokens and can be
> replaced my colors.
>
> So this gives different faces to the language
> specifiers and begin_ words, to attenuate
> begin_/end_src and emphasize the language selected.
>
> The picture in the attachment shows how source
> blocks get rendered then. Don't mind too much
> the "begin_quote" on it, as it's intended to
> be "begin_src" under normal circumstances.
The idea is reasonable and also in line with our inline src block
fontification. However, we are currently switching the fontification
backend. Hence, I'd prefer to postpone this patch to later. It will need
to be adapted to the new fontification code.
See https://orgmode.org/list/87ee7c9quk.fsf@localhost
Best,
Ihor