[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] render "->" as "&rarr" on html export?
From: |
Sebastien Vauban |
Subject: |
Re: [O] render "->" as "&rarr" on html export? |
Date: |
Tue, 24 Mar 2015 09:50:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
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:
--8<---------------cut here---------------start------------->8---
;; Show entities as UTF8 characters.
(setq org-pretty-entities t) ; emsp, etc.
--8<---------------cut here---------------end--------------->8---
>> \rightarrow will work, but doesn't give me the visual cue I want when
>> working in org.
>
> With org-entities you can have it displayed as the equivalent unicode
> characters of e.g. \rightarrow. With cdlatex you can insert \rightarrow
> quickly (on my keyboard: "¨>").
Best regards,
Seb
--
Sebastien Vauban