CommunityData:Reveal.js

From CommunityData
Revision as of 16:01, 10 June 2019 by Jdfoote (talk | contribs) (First version of reveal.js explainer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

reveal.js is an HTML-based framework for creating presentations. Using web-based slides lets you do things like embed videos or put clickable elements in your slides - anything that you could do in a webpage.


The easiest way to get started is to use the cdsc_tex set of tools. These are also used to create new LaTeX documents. You can put these in a new directory (this will put them in ~/tex/).

mkdir ~/tex/
git clone git@code.communitydata.cc:cdsc_tex

This code directory includes a number of bash scripts which create different types of documents (knitr, plain LaTeX, revealjs, etc.). To use these scripts, you should add them to your $PATH. One way to do this is to make a symlink to ~/bin for each script:

ln -s ~/tex/cdsc_tex/new* ~/bin/

Then, from any directory you can run

new_revealjs_presentation PresentationName

and it will create a new directory called PresentationName with a file called PresentationName.Rmd which is an R Markdown file that produces reveal.js slides, with examples of a few things that you might want to do.