Fix path reveal.js

This commit is contained in:
Jesús 2022-05-05 07:31:25 +08:00
parent 8d182df96e
commit 6d5058644b
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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)