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
|
;; Babel
|
||||||
|
|
||||||
(use-package ob-core
|
(use-package ob-core
|
||||||
:init (setq org-export-use-babel nil)
|
:init (setq org-export-use-babel nil
|
||||||
:config (setf (alist-get :results org-babel-default-header-args)
|
org-babel-default-header-args '((:session . "none")
|
||||||
"output code replace"))
|
(:results . "output code replace")
|
||||||
|
(:wrap . "src text")
|
||||||
|
(:exports . "both")
|
||||||
|
(:cache . "no")
|
||||||
|
(:noweb . "no")
|
||||||
|
(:hlines . "no")
|
||||||
|
(:tangle . "no"))))
|
||||||
|
|
||||||
(use-package ob-sql
|
(use-package ob-sql
|
||||||
:config (progn
|
:config (progn
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user