[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Differentiate source blocks in export?
From: |
Joost Kremers |
Subject: |
Re: Differentiate source blocks in export? |
Date: |
Tue, 24 Nov 2020 23:02:28 +0100 |
User-agent: |
mu4e 1.5.6; emacs 27.1.50 |
On Tue, Nov 24 2020, Eric S Fraga wrote:
> On Tuesday, 24 Nov 2020 at 17:22, Diego Zamboni wrote:
>> And even (a bit) shorter:
>>
>> #+html:<div class="myclass">
>
> Or, if you want a more org-like feel to your special constructs, and
> something that would in principle work to other export engines:
>
> #+begin_src org
> ,#+begin_myclass
> ,#+begin_src octave
> y = 3 * x + 5
> ,#+end_src
> ,#+end_myclass
> #+end_src
>
> using special blocks which translate to divs on HTML export.
That, unfortunately, seems to make it impossible to edit the source block as
Octave (or in my case Python) code. Pressing =C-c '= in this source block gives
me an Org buffer.
--
Joost Kremers
Life has its moments
- Differentiate source blocks in export?, Joost Kremers, 2020/11/24
- Re: Differentiate source blocks in export?, John Kitchin, 2020/11/24
- Re: Differentiate source blocks in export?, Marvin ‘quintus’ Gülker, 2020/11/24
- Re: Differentiate source blocks in export?, John Kitchin, 2020/11/24
- Re: Differentiate source blocks in export?, Diego Zamboni, 2020/11/24
- Re: Differentiate source blocks in export?, Eric S Fraga, 2020/11/24
- Re: Differentiate source blocks in export?,
Joost Kremers <=
- Re: Differentiate source blocks in export?, Eric S Fraga, 2020/11/25
- Re: Differentiate source blocks in export?, Joost Kremers, 2020/11/25
- Re: Differentiate source blocks in export?, Eric S Fraga, 2020/11/25
- Font lock in inner blocks [was: Re: Differentiate source blocks in export?], Joost Kremers, 2020/11/25
- Re: Differentiate source blocks in export?, Joost Kremers, 2020/11/24