Coding a presentation
03 Jun 2016
Reading time ~2 minutes
I recently ran across a set of online presentation slides with a readable, responsive design. I took a look at the source, and it seemed like they were written with R. Presentations in HTML/Markdown? Wow. More things to turn into text!
I did a little tinkering and looking around and decided to start by trying out Reveal.js. Here’s what I did
- Cloned Reveal.js to make a local copy.
- Created a new branch of the repository for this site called
- Created a
presentationsdirectory at the root of the site.
reveal.jsfiles into the new
- Navigated to the local repository in terminal and did
jekyll serveto make sure I could test this out. Works!
- Started thinking about a naming convention for presentations. Also thinking about whether or not I should try to use a jekyll naming convention for the presentation files (i.e., treat them like jekyll posts) and then try to make an
index.htmlpage to fit in w/ the rest of the site…. would that be better? It would automatically update
index.htmlas new presentations are created….
- Realized I don’t know enough about how to do that yet, so decided to start by just manually linking to presentations from current
index.htmlworks well enough ….
Here’s an example embedded in an iframe:
See full version