diff options
author | noa@gaiwan.org | 2024-06-15 18:26:43 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-15 18:26:43 +0000 |
commit | ab3636ea0a7663b6bf894b6ef6429e2a832dc670 (patch) | |
tree | e3a6e2a287ecaf4177a60b68a09593e6a62a9129 /emacs/init.el | |
parent | aac35cb96c337037a00c3677405c132b9e71e10d (diff) |
Make nicer org html publish settings global
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el index 5c6c293..9d84400 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -273,6 +273,25 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." (setopt org-agenda-current-time-string "◀── now ─────────────────────────────────────────────────") +;; Make org html export more pleasant by default +(setopt org-export-with-smart-quotes t) +(setopt org-export-with-entities nil) +(setopt org-export-headline-levels 5) +(setopt org-export-with-toc nil) +(setopt org-export-section-numbers nil) +(setopt org-html-doctype "html5") +(setopt org-html-html5-fancy t) +(setopt org-html-container-element "section") +(setopt org-html-divs '((preamble "header" "preamble") + (content "main" "content") + (postamble "footer" "postamble"))) +(setopt org-export-with-sub-superscripts t) +(setopt org-html-head-include-default-style nil + org-html-head-include-scripts nil + org-html-validation-link nil + org-html-indent t) + + (global-set-key (kbd "C-c c") #'org-capture) (global-set-key (kbd "C-c a") #'org-agenda) @@ -376,11 +395,7 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." :base-directory "/home/noa/data/share" :publishing-directory "/home/noa/projects/org-website" :base-extension "org" - - :section-numbers nil - :with-toc nil :with-drawers t - :with-sub-superscript t :html-link-home "/" :html-head "<link rel=\"icon\" href=\"data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>𰻝</text></svg>\">" :html-head-include-default-style nil |