initial
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
*.pdf
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
site/
|
||||||
|
main.html
|
||||||
|
main.pdf
|
||||||
24
mise.toml
Normal file
24
mise.toml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
[tools]
|
||||||
|
tinymist = "0.15.0"
|
||||||
|
typst = "0.15.0"
|
||||||
|
|
||||||
|
[tasks.watch-bundle]
|
||||||
|
run = "typst watch main.typ site --format bundle --features bundle,html --port 3000"
|
||||||
|
|
||||||
|
[tasks.watch-html]
|
||||||
|
run = "typst watch main.typ main.html --format html --features bundle,html --port 3080"
|
||||||
|
|
||||||
|
[tasks.watch-pdf]
|
||||||
|
run = "typst watch main.typ main.pdf --format pdf --features bundle,html"
|
||||||
|
|
||||||
|
[tasks.bundle]
|
||||||
|
run = "typst compile main.typ site --format bundle --features bundle,html"
|
||||||
|
|
||||||
|
[tasks.html]
|
||||||
|
run = "typst compile main.typ main.html --format html --features bundle,html"
|
||||||
|
|
||||||
|
[tasks.pdf]
|
||||||
|
run = "typst compile main.typ main.pdf --format pdf --features bundle,html"
|
||||||
|
|
||||||
|
[tasks.all]
|
||||||
|
depends = ["pdf", "html", "bundle"]
|
||||||
Reference in New Issue
Block a user