add jujutsu article
This commit is contained in:
parent
c47942b451
commit
271083d71f
12 changed files with 321 additions and 3 deletions
16
justfile
16
justfile
|
@ -1,8 +1,8 @@
|
|||
# vim: set ft=make :
|
||||
root := `pwd`
|
||||
root := justfile_directory()
|
||||
build := root / "build"
|
||||
|
||||
# Build static website
|
||||
build:
|
||||
build: jj-slides
|
||||
tup build
|
||||
|
||||
clean:
|
||||
|
@ -23,3 +23,13 @@ deploy: build
|
|||
|
||||
preview: build
|
||||
python3 -m webbrowser -t "file://{{root}}/build/index.html"
|
||||
|
||||
JJ_SLIDES_SRC := root / "articles/jujutsu/slides.md"
|
||||
JJ_SLIDES_OUT := build / "articles/jujutsu/jujutsu_slides.pdf"
|
||||
jj-slides:
|
||||
npx @marp-team/marp-cli@latest --allow-local-files \
|
||||
--bespoke.progress {{ JJ_SLIDES_SRC }} --pdf \
|
||||
--output {{ JJ_SLIDES_OUT }}
|
||||
|
||||
jj-slides-watch:
|
||||
ls {{ JJ_SLIDES_SRC }} | entr just jj-slides
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue