Just a simple Remark Js slideshow tool.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
410 B

build: clean
@mkdir ./build
@for file in ./slides/*; do cat $$file >> ./build/slides.md; echo '\r\n---\r\n' >> ./build/slides.md; done;
@sed -i -e :a -e '$$d;N;2,3ba' -e 'P;D' ./build/slides.md
@cp ./template.html ./build/index.html
@sed -i -e "/{{slides}}/r ./build/slides.md" -e "//d" ./build/index.html
clean:
@rm -rf ./build
run:
@cd ./build && python -m SimpleHTTPServer
.PHONY: build clean run