quote_sql()
now escapes single-quotes using an additional single-quote (#30).render()
can preserve length-1 vectors (#27).This release provides several quality-of-life improvements.
print.jinjar_template()
now highlights templating blocks using {cli} (#18).
print.jinjar_template()
gains an n
argument to control the number of lines displayed (#18).jinjar_config()
objects are now printed using {cli} (#22).parse_template()
to parse a template once and render()
it multiple times (#13).quote_sql()
simplifies writing SQL queries. See vignette("template-syntax")
for details (#14).path_loader()
now correctly finds template files outside the working directory (#11).Initial version on CRAN.