Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RafaelPalomar/0cf347cadcfdbbb8f4e64b1b60a10cd1 to your computer and use it in GitHub Desktop.
Save RafaelPalomar/0cf347cadcfdbbb8f4e64b1b60a10cd1 to your computer and use it in GitHub Desktop.
How to set multiple org source blocks headers in a property #org-mode #emacs #source #blocks

Setting multiple org-mode source block arguments in :PROPERTIES:

As an example, the following source block will be executed in the /var directory independently of where the .org file is.

The keyis to add a property named header-args (C-c C-x p) and set the list of arguments to be included in the blocks (e.g., =:dir /var).

pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment