layer: org: README.org: Reveal.js support: rw body text

This commit is contained in:
Anton-Latukha 2018-07-24 23:47:32 +03:00 committed by Sylvain Benner
parent 0064a88213
commit a78c8fec01
1 changed files with 8 additions and 7 deletions

View File

@ -118,19 +118,20 @@ at this stage. To disable the configuration of gnuplot support - add
the =gnuplot= package to your =dotspacemacs-excluded-packages= variable.
** Reveal.js support
To enable the export of your org file as a [[http://lab.hakim.se/reveal-js/][reveal.js]] presentation, set the
variable =org-enable-reveal-js-support= to =t=. This will install the [[https://github.com/yjwen/org-reveal/][org-reveal]]
extension.
To enable the export of org files as a [[http://lab.hakim.se/reveal-js/][reveal.js]] presentation - set the
variable =org-enable-reveal-js-support= to =t=.
This would install the [[https://github.com/yjwen/org-reveal/][org-reveal]] Emacs extension.
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers
'((org :variables org-enable-reveal-js-support t)))
#+END_SRC
In order to be able to use org-reveal, download =reveal.js= from its
[[http://lab.hakim.se/reveal-js/#/][homepage]] and set =org-reveal-root= to the
download path, as described in the [[https://github.com/yjwen/org-reveal#user-content-revealjs-and-org-reveal][manual]]. Alternatively, add the following line
to each =.org= file you want to process:
Then the extension needs to be pointed to the =reveal.js= itself.
So [[https://github.com/hakimel/reveal.js/releases][download]] =reveal.js= and point =org-reveal-root= to the path,
as it described in the [[https://github.com/yjwen/org-reveal#set-the-location-of-revealjs][manual]].
Alternatively, add the following line to each =.org= file you want to process:
#+BEGIN_EXAMPLE
#+REVEAL_ROOT: http://cdn.jsdelivr.net/reveal.js/3.0.0/