-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
33 lines (30 loc) · 828 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
download-revealjs:
mkdir -p lib
curl \
--output lib/3.9.2.tar.gz \
--progress-bar \
--location \
--url "https://github.com/hakimel/reveal.js/archive/3.9.2.tar.gz"
tar -zxf lib/3.9.2.tar.gz
mv reveal.js-3.9.2 reveal.js
curl \
--output lib/reveal.js-plugins-3.9.0.tar.gz \
--progress-bar \
--location \
--url "https://github.com/rajgoel/reveal.js-plugins/archive/3.9.0.tar.gz"
tar -zxf lib/reveal.js-plugins-3.9.0.tar.gz -C lib/
mv lib/reveal.js-plugins-3.9.0/chalkboard reveal.js/plugin/
# https://pandoc.org/
build:
pandoc \
--self-contained \
--to=revealjs \
--output=dist/index.html \
--slide-level=2 \
--resource-path=.:src \
--variable="theme=black" \
src/title.yml \
src/slides.md
# https://docs.python.org/3/library/http.server.html
http:
python -m http.server --directory=dist