Use Tuprules for pandoc

This commit is contained in:
Fabien Freling 2019-06-10 21:51:04 +02:00
parent ef89e98d08
commit dfd1ce60f4
8 changed files with 22 additions and 56 deletions

9
Tuprules.tup Normal file
View file

@ -0,0 +1,9 @@
&root = .
!pandoc = | &(root)/templates/footer.html |> pandoc --from markdown --to html \
--template=&(root)/templates/pandoc.html \
--css &(root)/css/default.css \
--include-in-header=&(root)/templates/header.html \
--include-before-body=&(root)/templates/nav.html \
--include-after-body=&(root)/templates/footer.html \
%f --output=%o \
|> %B.html