add reveal.js
This commit is contained in:
parent
242f5ec765
commit
8d182df96e
@ -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"
|
||||
|
3
init.el
3
init.el
@ -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))
|
||||
|
14
modules/init-ox-reveal.el
Normal file
14
modules/init-ox-reveal.el
Normal 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
|
Loading…
x
Reference in New Issue
Block a user