Added presentation slide-show framework

Just used ma.md as slides, so no real content.
This commit is contained in:
Stefan Dresselhaus
2017-11-11 18:03:42 +01:00
parent 9254084f9f
commit 43ba0fa612
92 changed files with 4459 additions and 0 deletions

43
presentation/Makefile Executable file
View File

@ -0,0 +1,43 @@
### INPUT & OUTPUT ##########################################################
MD := $(wildcard *.md)
HTML := $(patsubst %.md, %.html, $(MD))
### TEMPLATE CONFIG #########################################################
TDIR := ./template
TEMPLATE := $(TDIR)/template.html
### EXPLICIT RULES ##########################################################
.PHONY: html
html: $(HTML)
htmlold: $(HTMOLD)
$(HTML): $(SRC) $(TEMPLATE)
clean:
rm -f $(HTML)
### IMPLICIT RULES ##########################################################
# new syntax with filters
%.html: %.md
cat $< | \
pandoc \
--from markdown+link_attributes+smart+line_blocks+emoji \
--to revealjs \
--section-divs \
--no-highlight \
--mathjax \
--template $(TEMPLATE) \
--variable template=$(TDIR) \
--variable chalkboard=${<:.md=.json} \
--filter styling \
--filter cols \
--filter media \
--filter clean \
-o $@