[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to wrap Org code generated by a source block?
From: |
Berry, Charles |
Subject: |
Re: How to wrap Org code generated by a source block? |
Date: |
Tue, 10 Nov 2020 17:41:45 +0000 |
> On Nov 10, 2020, at 6:13 AM, Diego Zamboni <diego@zzamboni.org> wrote:
>
> I want to generate some parts of my document programmatically from an
> emacs-lisp src block - i.e. the code produces Org markup which I want to then
> export. Is there a way to wrap the #+RESULTS block in an environment that
> still gets evaluated as Org text (e.g. when exporting)?
>
>
Try `:results drawer'
You can also do fancy stuff using `:wrap "src ..."' where `...' is a language
and additional header args. One language choice is `org', but I don't think
this approach is what you need.
HTH,
Chuck