summaryrefslogtreecommitdiff
path: root/modules/org-export-config.el
blob: befb436104cc02ca18ec2beb8ba32e2f1099b24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
;;; org-export-config.el --- Org Export Configuration -*- lexical-binding: t; -*-

;;; Commentary:

;;; Code:

;;;; ------------------------- Org-Exporting -------------------------

(with-eval-after-load 'org

  ;; markdown
  (use-package ox-md
	:ensure nil ;; built-in
	:after ox)

  ;; hugo markdown
  (use-package ox-hugo
	:after ox)

  ;; beamer presentations
  (use-package ox-beamer
	:ensure nil ;; built-in
	:after ox)

  ;; ORG EXPORT
  (setq org-export-coding-system 'utf-8)        ;; force utf-8 in org
  (setq org-export-headline-levels 6)           ;; export headlines 6 levels deep
  (setq org-export-initial-scope 'subtree)      ;; export the current subtree by default
  (setq org-export-with-author nil)             ;; export without author by default
  (setq org-export-with-section-numbers nil)    ;; export without section numbers by default
  (setq org-export-with-tags nil)               ;; export without tags by default
  (setq org-export-with-tasks nil)              ;; export without tasks by default
  (setq org-export-with-toc nil)                ;; export without table of contents by default

  ) ;; end with-eval-after-load


(provide 'org-export-config)
;;; org-export-config.el ends here.