Explicitly set default Org babel header args
It's clearer that way. Also wrap results in a text src block by default, instead of in a src block of the same language as the executing block.
This commit is contained in:
parent
12e3d1fcd0
commit
624aa84a79
12
init.el
12
init.el
|
@ -1411,9 +1411,15 @@ point to the beginning of buffer first."
|
|||
;; Babel
|
||||
|
||||
(use-package ob-core
|
||||
:init (setq org-export-use-babel nil)
|
||||
:config (setf (alist-get :results org-babel-default-header-args)
|
||||
"output code replace"))
|
||||
:init (setq org-export-use-babel nil
|
||||
org-babel-default-header-args '((:session . "none")
|
||||
(:results . "output code replace")
|
||||
(:wrap . "src text")
|
||||
(:exports . "both")
|
||||
(:cache . "no")
|
||||
(:noweb . "no")
|
||||
(:hlines . "no")
|
||||
(:tangle . "no"))))
|
||||
|
||||
(use-package ob-sql
|
||||
:config (progn
|
||||
|
|
Loading…
Reference in New Issue