typr_watch {typr} | R Documentation |
Watch a Typst document
Description
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()
Arguments
input |
either a path to a |
output_file |
file to output to |
output_format |
format to use. One of |
typst_args |
Additional arguments to pass to Typst. Can be listed with |
Value
a path to the created file
Examples
tf <- fs::file_temp(ext = 'typ')
writeLines(text = '= test', con = tf)
typr_watch(tf)
writeLines(text = c('= test', 'hello'), con = tf)
[Package typr version 0.0.3 Index]