Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnadales/presentations
https://github.com/dnadales/presentations
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dnadales/presentations
- Owner: dnadales
- Created: 2017-01-21T17:27:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T10:35:30.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T09:25:47.924Z (2 months ago)
- Language: Haskell
- Size: 982 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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_SRCA 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_SRCThe navigate to:
#+BEGIN_SRC text
http://localhost:49160/presentation/
#+END_SRC