I'm using org-babel to automate a few tasks and I'd like to define a few
variables that are common to several code blocks as sub-tree properties.
It works when I have only one variable, where I can use
--8<---------------cut here---------------start------------->8---
* Heading
:PROPERTY:
:var: variable1="value1"
:END:
#+begin_src python :results output
print variable1
#+end_src
#+results:
: value1
--8<---------------cut here---------------end--------------->8---
Is it possible to set multiples variables in this way?
I tried things like
--8<---------------cut here---------------start------------->8---
:PROPERTY:
:var: variable1="value1" variable2="value2"
:END:
:PROPERTY:
:var: variable1="value1",variable2="value2"
:END:
:PROPERTY:
:variable1: "value1"
:variable2: "value2"
:END:
--8<---------------cut here---------------end--------------->8---
but none of them worked.
--
Darlan Cavalcante