Create a Typst file (.typ) from a character vector.
Arguments
- x
A character vector representing Typst code.
- ...
Additional arguments passed to
tynding::typst_write()
Examples
if (FALSE) { # \dontrun{
code <- c("= Hello World", "This is a Typst document.")
typst_write(code, output = "hello.typ")
} # }