Export org babel results with pandoc

This commit is contained in:
coolneng 2020-09-22 15:36:52 +02:00
parent 0a2980db32
commit 46f629b479
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 2 deletions

View File

@ -28,9 +28,10 @@
(org-super-agenda-mode)) (org-super-agenda-mode))
;; Add timestamp to DONE task ;; Add timestamp to DONE task
(setq org-log-done 'time) (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") (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 ;; Enter writeroom-mode in all org files
(add-hook 'org-mode-hook 'global-writeroom-mode) (add-hook 'org-mode-hook 'global-writeroom-mode)
;; Respect LANGUAGE export variable ;; Respect LANGUAGE export variable