introductionToProgramming/DEVELOP.md
2025-10-07 17:15:22 +02:00

5 lines
No EOL
306 B
Markdown

When a command runner is desired in the function, query functionality can be used.
In `common/common.typ`, there's a `runCommand` function.
This can be queried using `typst query --input prequery-fallback=true --field value doc.typ '<cmd>'`. For more info see https://typst.app/universe/package/prequery.