diff options
-rw-r--r-- | .env.example | 2 | ||||
-rw-r--r-- | modules/init-ox-reveal.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.env.example b/.env.example index 66a977e..154faae 100644 --- a/.env.example +++ b/.env.example @@ -6,5 +6,5 @@ EMACS_EMAIL="user@example.org" 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_JS_DIR="/path/to/reveal.js" REVEAL_CSS_FILE="/path/to/highlight/night-owl.css" diff --git a/modules/init-ox-reveal.el b/modules/init-ox-reveal.el index 94b7d56..645afea 100644 --- a/modules/init-ox-reveal.el +++ b/modules/init-ox-reveal.el @@ -7,7 +7,7 @@ (use-package ox-reveal :ensure ox-reveal :config - (setq org-reveal-root (getenv (concat "file://" "REVEAL_JS_FILE"))) + (setq org-reveal-root (concat "file://" (getenv "REVEAL_JS_DIR"))) (setq org-reveal-highlight-css (getenv "REVEAL_CSS_FILE")) (setq org-reveal-ignore-speaker-notes t)) (provide 'init-ox-reveal) |