Automatically download reveal.js and use local copy, default to v4 (#3846)

* Automatically download reveal.js upgrade to v4

The +present option now automatically checks out the reveal.js
repository and configures org-re-reveal to use it. It also now uses
reveal.js 4 instead of 3.9.2.

* Changed :init to :config
This commit is contained in:
Diego Zamboni 2020-08-27 07:15:14 +02:00 committed by GitHub
parent 5cf3c499c8
commit 723583e8d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View file

@ -13,9 +13,9 @@
(use-package! org-re-reveal
:after ox
:init
(setq org-re-reveal-root "https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.9.2"
org-re-reveal-revealjs-version "3.8"))
:config
(setq org-re-reveal-root (expand-file-name "../../" (locate-library "dist/reveal.js" t))
org-re-reveal-revealjs-version "4"))
(use-package! org-tree-slide