diff options
-rw-r--r-- | .env.example | 3 | ||||
-rw-r--r-- | init.el | 3 | ||||
-rw-r--r-- | modules/init-ox-reveal.el | 14 |
3 files changed, 19 insertions, 1 deletions
diff --git a/.env.example b/.env.example index a7bd050..66a977e 100644 --- a/.env.example +++ b/.env.example @@ -5,3 +5,6 @@ EMACS_EMAIL="user@example.org" # Angular configuration ANGULAR_SERVER_DIR="/usr/local/lib/node_modules/@angular/language-server" NODEJS_MODULE_DIR="/usr/local/lib/node_modules" + +REVEAL_JS_FILE="/path/to/reveal.js" +REVEAL_CSS_FILE="/path/to/highlight/night-owl.css" @@ -121,7 +121,8 @@ (require 'init-dokuwiki) (require 'init-linter) (require 'init-load-env-vars) - (require 'init-restclient)) + (require 'init-restclient) + (require 'init-ox-reveal)) ;;; Custom variables (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) diff --git a/modules/init-ox-reveal.el b/modules/init-ox-reveal.el new file mode 100644 index 0000000..94b7d56 --- /dev/null +++ b/modules/init-ox-reveal.el @@ -0,0 +1,14 @@ +;;; init-ox-reveal.el --- .Emacs Configuration -*- lexical-binding: t -*- +;;; Commentary: +;; + +;;; Code: +;; ox-reveal +(use-package ox-reveal + :ensure ox-reveal + :config + (setq org-reveal-root (getenv (concat "file://" "REVEAL_JS_FILE"))) + (setq org-reveal-highlight-css (getenv "REVEAL_CSS_FILE")) + (setq org-reveal-ignore-speaker-notes t)) +(provide 'init-ox-reveal) +;;; init-ox-reveal.el ends here |