Compile a Typst document
Usage
typr_compile(
input = NULL,
output_file = NULL,
output_format = c("pdf", "png", "svg", "html"),
typst_args = NULL
)
Examples
if (FALSE) { # has_any_typst()
typr_compile('hello world')
typr_compile(
input = 'Hello world', output_format = 'png',
typst_args = c('--ppi', '300')
)
}