Skip to contents

Opens an interactive Shiny application for creating and editing ksTFL styles templates that conform to styles_schema_v2.json. Templates can be loaded from the bundled inst/templates/ directory or uploaded from disk, then edited and downloaded as JSON for use with set_page_style() / write_doc().

Usage

run_styles_editor(...)

Arguments

...

Additional arguments passed to shiny::runApp(), such as launch.browser = TRUE or port = 4321.

Value

Invisibly returns the result of shiny::runApp().

Details

This function requires the shiny package to be installed.

Examples

if (FALSE) { # \dontrun{
run_styles_editor()
run_styles_editor(launch.browser = TRUE)
} # }