aboutsummaryrefslogtreecommitdiff
path: root/Makefile.reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.reveal.js')
-rw-r--r--Makefile.reveal.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.reveal.js b/Makefile.reveal.js
new file mode 100644
index 0000000..8e9e464
--- /dev/null
+++ b/Makefile.reveal.js
@@ -0,0 +1,12 @@
+#
+# Makefile for reveal.js presentation
+#
+
+# See https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides
+# Also look for variables at /usr/share/pandoc/data/templates/default.revealjs
+REVEAL_THEME=moon
+
+slides:
+ test -s .gitmodules && git submodule update --init --recursive
+ pandoc -V theme=$(REVEAL_THEME) -V css=index.css -s --mathjax -i -t revealjs index.md -o index.html
+ pandoc -t beamer index.md -o index.pdf