Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dnadales/presentations


https://github.com/dnadales/presentations

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

        

* Presentations

My presentations.

*** Generating the slides
The Markdown files in this repository can be used to generate [[https://github.com/hakimel/reveal.js/][reveal.js]]
slides, using [[http://pandoc.org][pandoc]]. To avoid the hassle of having to install reveal.js, a
docker container is provided at [[https://github.com/capitanbatata/revealjs-server][this git repository]].

To generate the slides out of a Markdown file use:
#+BEGIN_SRC sh
pandoc -t revealjs -s --variable="revealjs-url":"" presentation.md -o index.html
#+END_SRC
The following example sets additional variables:
#+BEGIN_SRC sh
pandoc -t revealjs -s --variable="revealjs-url":"" presentation.md -V theme=solarized -V history=true -o index.html
#+END_SRC

A custom template can be added by specifying the css option:
#+BEGIN_SRC sh
pandoc -t revealjs -s --variable="revealjs-url":"" presentation.md -V theme=white-mod --css=white-mod.css -o index.html
#+END_SRC
I'm currently looking for a way to avoid copying the custom css. I'll
probably modify the docker container that serves the presentation.

Then, assuming the slides are at the current working directory start the
docker container with:
#+BEGIN_SRC sh
docker run -p 49160:8000 -v `pwd`:/revealjs/presentation/ --rm dnadales/revealjs-server:latest
#+END_SRC

The navigate to:
#+BEGIN_SRC text
http://localhost:49160/presentation/
#+END_SRC