summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-06-03 21:37:25 +0300
committerLars Wirzenius <liw@liw.fi>2019-06-03 21:37:25 +0300
commitd277d37ac270c5f362e4a7f331777605fdc2d820 (patch)
treec6349c692b531cc7ab44be0e56e7ea732199864a
parent4f0ceed00dd341687ae56d3a9ac0873b47f6b69c (diff)
downloadfable-poc-d277d37ac270c5f362e4a7f331777605fdc2d820.tar.gz
Add: Makefile to format all documents
-rw-r--r--Makefile6
-rwxr-xr-xpandoc.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3d603f8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+.SUFFIXES: .md .pdf
+
+all: echo.pdf tutorial.pdf
+
+.md.pdf:
+ ./pandoc.sh $< -o $@
diff --git a/pandoc.sh b/pandoc.sh
index 3942448..4485584 100755
--- a/pandoc.sh
+++ b/pandoc.sh
@@ -3,6 +3,7 @@
set -eu
pandoc \
+ --filter ./pandoc-fable-filter \
--toc \
--number-sections \
-Vdocumentclass:report \