Use Tuprules for pandoc
This commit is contained in:
parent
ef89e98d08
commit
dfd1ce60f4
8 changed files with 22 additions and 56 deletions
12
Tupfile
12
Tupfile
|
@ -1,11 +1,3 @@
|
|||
: foreach *.md | templates/footer.html |> \
|
||||
pandoc --from markdown --to html \
|
||||
--template=templates/pandoc.html \
|
||||
--css css/default.css \
|
||||
--include-in-header=templates/header.html \
|
||||
--include-before-body=templates/nav.html \
|
||||
--include-after-body=templates/footer.html \
|
||||
%f --output=%o \
|
||||
|> %B.html
|
||||
|
||||
include_rules
|
||||
: foreach *.md |> !pandoc |>
|
||||
: favicon.png |> !tup_preserve |>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue