org-babel block with :exports code that gets evaluated on export
Hi, Is there a way to have an org-babel block which only exports its code but still gets evaluated when exporting ?
Re: org-babel block with :exports code that gets evaluated on export
Sébastien Miquel writes: > Is there a way to have an org-babel block which only exports its code > but still gets evaluated when exporting ? I think you can do something like this: #+begin_src emacs-lisp :exports both :results none (setq my-variable t) #+end_src Or, if you want to pass the results to another block you could use ":results output silent" or ":results value silent." Best, Matt