Skip to contents

Returns the names of all template JSON files bundled with the package in inst/templates/. These names can be passed directly to set_page_style(docTemplate = ...) or tfl_set_options(docTemplate = ...).

Usage

tfl_list_templates()

Value

A character vector of template names (without the .json extension), sorted alphabetically.

Examples

tfl_list_templates()
#> [1] "Carbon_Dark"             "Classic_landscape_times"
#> [3] "Classic_portrait"        "Default"                
#> [5] "Listings"                "Navy_Pro"               
#> [7] "Regulatory_Arial"