From 8d182df96e63f8a1f0b093e2a5bbeb0d3bc60062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 5 May 2022 06:57:57 +0800 Subject: add reveal.js --- modules/init-ox-reveal.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/init-ox-reveal.el (limited to 'modules') 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 -- cgit v1.2.3