Arricchimento con temi e plugin di Marpit.

This commit is contained in:
Emiliano Vavassori 2025-05-08 22:47:54 +02:00
parent 2033c88557
commit 6087a83b6f
12 changed files with 1883 additions and 11 deletions

View file

@ -1,14 +1,19 @@
COMMON_OPTS :=
PDF_OPTS := --pdf --allow-local-files
HTML_OPTS :=
default: slides.html
pdf: slides.pdf
clean: distclean
distclean:
rm -f slides.html slides.pdf
%.html: %.md
marp --allow-local-files -o $@ $<
marp $(COMMON_OPTS) $(HTML_OPTS) -o $@ $<
%.pdf: %.md
marp --allow-local-files --pdf -o $@ $<
marp $(COMMON_OPTS) $(PDF_OPTS) -o $@ $<
.PHONY: distclean
.PHONY: distclean clean