From a86b1f79cc8ffdf465da1469d0e5948e46efc8f4 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 18 Mar 2020 11:30:59 +0000 Subject: Add --- doom/config.el | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'doom/config.el') diff --git a/doom/config.el b/doom/config.el index 7a688cd..32b47c7 100644 --- a/doom/config.el +++ b/doom/config.el @@ -230,13 +230,31 @@ :config (zettelkasten-mode t)) +;; Publishing projects, this one is for the zettelkasten +(use-package! ox-publish + :config + (setq org-publish-project-alist + '(("zettelkasten" + :base-directory "~/Dropbox/org/zettelkasten/" + :base-extension "org" + :publishing-directory "~/Dropbox/org/zettelkasten/html/" + :publishing-function org-html-publish-to-html + :headline-levels 4 + :auto-preamble t + :with-toc nil + :section-numbers nil + :html-head " +" + ))) + (add-hook 'org-export-before-processing-hook 'zettelkasten-org-export-preprocessor)) + ;; Mac configuration (when (eq system-type 'darwin) (setq mac-right-option-modifier 'none - mac-option-key-is-meta nil - mac-command-key-is-meta t - mac-command-modifier 'meta - mac-option-modifier nil)) + mac-option-key-is-meta nil + mac-command-key-is-meta t + mac-command-modifier 'meta + mac-option-modifier nil)) ;; Here are some additional functions/macros that could help you configure Doom: ;; -- cgit