
Query within a Typst file
typr_query.Rd
Query within a Typst file
Usage
typr_query(
input = NULL,
selector = NULL,
typst_args = NULL,
as_json = !rlang::is_installed("jsonlite")
)
Examples
if (FALSE) { # has_any_typst()
tf <- fs::file_temp(ext = 'typ')
writeLines(text = '= test <lbl>', con = tf)
typr_query(input = tf, selector = '<lbl>')
}