Abstract out code block header args

This commit is contained in:
Jez Cope 2021-08-08 18:46:23 +01:00
parent 81bcad97af
commit 9efa9b7bf6
1 changed files with 4 additions and 3 deletions

View File

@ -1,11 +1,12 @@
:PROPERTIES:
:ID: c6b800ed-5cc1-4464-a605-f8b279f27cfe
:END:
#+TITLE: Nix: a gentle introduction
#+title: Nix: a gentle introduction
#+author: Jez Cope
#+setupfile: theme-readtheorg.setup
#+options: toc:t num:2 creator:nil date:nil H:3
#+language: en
#+property: header-args :results verbatim :wrap example :exports both :eval never-export
* Introduction
@ -34,7 +35,7 @@
*** Ad hoc: ~nix-shell -p~
#+begin_src sh :results verbatim :wrap example
#+begin_src sh
nix-shell -p hello --command hello 2>&1
#+end_src
@ -50,7 +51,7 @@ Hello, world!
What happens if we do that again?
#+begin_src sh :results verbatim :wrap example
#+begin_src sh
nix-shell -p hello --command hello 2>&1
#+end_src