mirror of
https://github.com/danbulant/introductionToProgramming
synced 2026-05-19 04:18:32 +00:00
306 B
306 B
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.