~bzg/worg

aa88a5025295df7008ea0288a7db1569e3fc441b — Ihor Radchenko 2 months ago b8455c8
ob-doc-shell.org: Convert ad-hoc markup into a warningbox

* org-contrib/babel/languages/ob-doc-shell.org (Command-line Arguments
<<cmdline>>): Use warningbox special block.
1 files changed, 3 insertions(+), 1 deletions(-)

M org-contrib/babel/languages/ob-doc-shell.org
M org-contrib/babel/languages/ob-doc-shell.org => org-contrib/babel/languages/ob-doc-shell.org +3 -1
@@ 554,8 554,10 @@ of whether a =:session= is declared.

Use the =:cmdline= header arg to pass arguments to a shell command.

*NOTE* When =:cmdline= is used, the block is evaluated in a temporary shell,
#+begin_warningbox
When =:cmdline= is used, the block is evaluated in a temporary shell,
regardless of whether a =:session= is declared.
#+end_warningbox

: #+begin_src sh :cmdline arg1 arg2
:   echo "$1"