add reveal.js

This commit is contained in:
Jesús
2022-05-05 06:57:57 +08:00
parent 242f5ec765
commit 8d182df96e
3 changed files with 19 additions and 1 deletions

14
modules/init-ox-reveal.el Normal file
View File

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