From 46f629b47934c8e8594bb36ec984e019f8328add Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 22 Sep 2020 15:36:52 +0200 Subject: [PATCH] Export org babel results with pandoc --- +org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/+org.el b/+org.el index 56f423b..e86a01b 100644 --- a/+org.el +++ b/+org.el @@ -28,9 +28,10 @@ (org-super-agenda-mode)) ;; Add timestamp to DONE task (setq org-log-done 'time) -;; Print babel results to the buffer +;; Print babel results to the buffer and export them (setq org-babel-default-header-args '((:session . "none") (:results . "output") (:exports . "both") - (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no"))) + (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no")) + org-babel-default-lob-header-args '((:exports . "both"))) ;; Enter writeroom-mode in all org files (add-hook 'org-mode-hook 'global-writeroom-mode) ;; Respect LANGUAGE export variable