> I tried also with =:wrap src org=, but then upon export it's exported > literally as Org src code, instead of interpreted as such.
An alternative might also be =:wrap export org=. Diego Zamboni <di...@zzamboni.org> writes: > Hi Chuck, > > Thanks! =:results drawer= is exactly what I was looking for :) > > I tried also with =:wrap src org=, but then upon export it's exported > literally as Org src code, instead of interpreted as such. The drawer was > exactly what I needed, and allows reevaluation of the block, replacing all > the results correctly. > > Cheers, > --Diego > > > On Tue, Nov 10, 2020 at 6:41 PM Berry, Charles <ccbe...@health.ucsd.edu> > wrote: > >> >> >> > On Nov 10, 2020, at 6:13 AM, Diego Zamboni <di...@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 >>