Coding a presentation
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 started to think about preparing presentations, and perhaps instructional tutorials in text, using markdown — i.e., coding my presentations. Why? 1
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
presentationsto experiment. - Created a
presentationsdirectory at the root of the site. - Copied
reveal.jsfiles into the newpresentationsdirectory 2. - 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 updateindex.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