[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] colored code background in org 8.3
From: |
Samuel W. Flint |
Subject: |
Re: [O] colored code background in org 8.3 |
Date: |
Tue, 07 Jun 2016 11:02:46 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
:: Rasmus writes:
Rasmus> Sebastien Vauban <address@hidden> writes:
>> Hello all,
>>
>> Rasmus <address@hidden> writes:
>>> John Kitchin <address@hidden> writes:
>>>
>>>> I am finally getting around to switching over to org 8.3... One
>>>> thing I miss already is the colored background in the code
>>>> blocks. I recall that was removed. Has anyone looked into a way to
>>>> put it back?
>>>
>>> I use the attached patch for some "interactive slides" with babel.
>>
>> Could it be put into the official code base, for all users to enjoy
>> colored backgrounds without having to patch their Org by hand?
Rasmus> Sure, eventually. Let me know if you have tested the patch and
Rasmus> it works for you.
Rasmus> I don’t know much about faces, but it should work across all
Rasmus> relevant versions of Emacs.
Rasmus> Aside: Speaking of prettifying src blocks, with
Rasmus> prettify-symbols-mode I managed to make src-blocks look like
Rasmus> this when the cursor is somewhere else
Rasmus> λ LANGUAGE ☰
Rasmus> and like this otherwise
Rasmus> #+begin_src LANGUAGE :keyword₁ value₁ ⋯ :keywordₙ valueₙ
How do you do this?
Thanks,
Sam
--
Samuel W. Flint
4096R/266596F4
(9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4)
(λs.s s) λs.s s
signature.asc
Description: PGP signature