org-reveal
Emacs package to make reveal.js slides in org-mode.
The front matter of the org file you wish to generate a reveal.js presentation from has the following form (without commas)
:REVEAL_PROPERTIES: #+REVEAL_ROOT: /cdn link to reveal.js #+REVEAL_REVEAL_JS_VERSION: 4 #+REVEAL_THEME: /Some theme #+OPTIONS: timestamp:nil, toc:1, num:nil :END: #+TITLE: /Some title #+AUTHOR: /Name #+DATE: <2022-05-25 Wed>
One can also put (setq org-reveal-root "https://cdn.jsdeliver.net/npm/reveal.js")
in the emacs configuration as well.
Each main heading is the title of a new (primary) slide. Subheadings create slides below the primary slide.
Suppose you have a list, and want the list items to appear separately, put #+ATTR_REVEAL: :frag (appear)
or any other fragment style listed here.
If we have an image that we may want to make sure fits the slide, we can do so by for e.g. putting +#ATTR_HTML: :width 45% :align center
above the image link in the org file.
To add speaker notes, put them between +#BEGIN_NOTES ... +#END_NOTES
. To use the notes, press the S key to see the speaker presented view.
To export the org file to reveal.js, use org-export-dispatch via C-c C-e
.