[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] render "->" as "&rarr" on html export?
From: |
Rasmus |
Subject: |
Re: [O] render "->" as "&rarr" on html export? |
Date: |
Tue, 24 Mar 2015 10:39:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Sebastien Vauban <address@hidden>
writes:
> Rasmus wrote:
>> Matt Price <address@hidden> writes:
>>
>>> I feel like I've seen the answer to this somewhere but I can't find it --
>>> is it possible for me to get "->" and "=>" to render as rightarrows (→, ⇒)?
>>
>> Do you want to render it in the buffer or on export? For the buffer you
>> could use prettify-symbols-mode.
>
> ... by adding the following into your .emacs:
>
> ;; Show entities as UTF8 characters.
> (setq org-pretty-entities t) ; emsp, etc.
This would work for "\rightarrow" but I don't think you can configure it
to support "->". For that you'd need prettify-symbols-mode, I think.
—Rasmus
--
Dung makes an excellent fertilizer