ajout option pandoc
This commit is contained in:
parent
322b9da3ca
commit
ae004b5207
6
Makefile
6
Makefile
@ -12,16 +12,14 @@ html: $(HTML)
|
|||||||
|
|
||||||
directories: $(OUTDIR)
|
directories: $(OUTDIR)
|
||||||
|
|
||||||
$(OUTDIR):
|
$(OUTDIR):
|
||||||
mkdir $(OUTDIR)
|
mkdir $(OUTDIR)
|
||||||
|
|
||||||
$(OUTDIR)/%.html: %.md $(OUTDIR)
|
$(OUTDIR)/%.html: %.md $(OUTDIR)
|
||||||
pandoc $< -o $@ -s
|
pandoc --from=markdown+lists_without_preceding_blankline $< -o $@ -s
|
||||||
|
|
||||||
$(OUTDIR)/%.pdf: $(OUTDIR)/%.html
|
$(OUTDIR)/%.pdf: $(OUTDIR)/%.html
|
||||||
wkhtmltopdf $< $@
|
wkhtmltopdf $< $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
\rm -rf *.html *.pdf $(OUTDIR)
|
\rm -rf *.html *.pdf $(OUTDIR)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user