From aa88a5025295df7008ea0288a7db1569e3fc441b Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 27 Jun 2024 16:55:59 +0200 Subject: [PATCH] ob-doc-shell.org: Convert ad-hoc markup into a warningbox * org-contrib/babel/languages/ob-doc-shell.org (Command-line Arguments <>): Use warningbox special block. --- org-contrib/babel/languages/ob-doc-shell.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org-contrib/babel/languages/ob-doc-shell.org b/org-contrib/babel/languages/ob-doc-shell.org index 13741296..76b9d136 100644 --- a/org-contrib/babel/languages/ob-doc-shell.org +++ b/org-contrib/babel/languages/ob-doc-shell.org @@ -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" -- 2.45.2