Create a Typst file (.typ) from a character vector.
Examples
if (FALSE) { # \dontrun{
code <- c("= Hello World", "This is a Typst document.")
typst_write(code, output = "hello.typ")
} # }
Create a Typst file (.typ) from a character vector.
if (FALSE) { # \dontrun{
code <- c("= Hello World", "This is a Typst document.")
typst_write(code, output = "hello.typ")
} # }