diff --git a/Makefile b/Makefile
index f2cd0b514e73c8160a7b9a949a5f67f68b66c1b1..f069b49f1b8531bb2cb89dcc3ccb98ac36f814e6 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,10 @@ PDFOPTIONS += --pdf-engine pdflatex
 PDFOPTIONS += --number-sections
 PDFOPTIONS += --template=./default.latex
 
+HTMLOPTIONS += -t html5
+HTMLOPTIONS += -c css/styling.css
+HTMLOPTIONS += --self-contained
+
 all: base_1.pdf intro.pdf
 
 intro.pdf: intro.md *.theme
@@ -14,6 +18,9 @@ intro.pdf: intro.md *.theme
 base_1.pdf: base_1.md *.theme
 	pandoc -t beamer -o $@ $<
 
+index.html: index.md
+	pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $<
+
 deploy: all
 	mkdir -p prog_seq_c_cours
 	cp *.pdf prog_seq_c_cours