
Watch a Typst document
typr_watch.Rd
Watch a Typst document
Usage
typr_watch(
input = NULL,
output_file = NULL,
output_format = c("pdf", "png", "svg", "html"),
typst_args = NULL
)
typr_watch_stop()
Examples
if (FALSE) { # has_any_typst()
tf <- fs::file_temp(ext = 'typ')
writeLines(text = '= test', con = tf)
typr_watch(tf)
writeLines(text = c('= test', 'hello'), con = tf)
}