help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org-mode: toggle between source block and its results


From: Jonas Damm
Subject: Re: Org-mode: toggle between source block and its results
Date: Wed, 08 Feb 2023 09:19:47 +0100
User-agent: mu4e 1.8.10; emacs 28.2.50

Thank you for this advice. For some reason it does not work for me
though..
Attached is my example presentation, if you want to try that.

Jonas

Attachment: presentation.org
Description: Example

Jean Louis <bugs@gnu.support> writes:

> [1. text/plain]
> * Jonas Damm <emails@jonas-damm.de> [2023-02-06 21:03]:
>> Hi, I would like to make a presentation about music in org-present.
>> I want to show musical lilypond snippets, but I don't want the source
>> block itself to show. Is it possible to toggle visablitly of the
>> source block and its results?
>
> Here is one possible solution:
> (info "(org) Blocks") <-- evaluate
>
> which implies you would then export "visible only".
>
> I have tried it this way:
>
> [2. text/x-org]
> #+STARTUP: hideblocks
> #+STARTUP: nohideblocks
>
> [3. text/x-org]
> #+BEGIN_SRC emacs-lisp
> (message "Hello")
> #+END_SRC
>
> [4. text/plain]
> #+RESULTS:
> : Hello
>
> And I could see only result, and not the block.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]