quest/justfile

29 lines
637 B
Plaintext
Raw Normal View History

2022-07-24 14:15:32 +00:00
# show all commands
default:
just --list --unsorted
2022-07-26 14:12:48 +00:00
# assemble spoiler free markdown
assemble-nospoilers:
lua lib/main.lua
2022-07-24 14:15:32 +00:00
# build player-facing html
public:
pandoc -f markdown+autolink_bare_uris \
-t html \
--standalone \
--toc \
--metadata title="BASEMENT QUEST" \
-H includes/styles.html \
src/basementquest.md > www/basementquest.html
# build referee-facing html
spoilers:
cat src/basementquest.md src/spoilers.md |\
pandoc -f markdown+autolink_bare_uris \
-t html \
--standalone \
--toc \
--metadata title="BASEMENT QUEST" \
-H includes/styles.html \
> www/spoilers.html