2

Give this file

:PROPERTIES:
:header-args:sh: :var A="this is a"
:END:

#+begin_src sh
echo ${A}
#+end_src

#+RESULTS:
: this is a

I would like to move the properties drawer to a separate file and import it into the main one. To do so I'm using the #SETUPFILE property suggested here, but this doesn't seem to work.

main.org

#+SETUPFILE: test.org

#+begin_src sh
echo ${A}
#+end_src

#+RESULTS:

test.org

:PROPERTIES:
:header-args:sh: :var A="this is a"
:END:
ezy
  • 121
  • 5

1 Answers1

1

Try this in test.org instead:

#+PROPERTY: header-args:sh: :var A="this is a"
Phil Hudson
  • 1,651
  • 10
  • 13