Adds the necessary helper files to an existing quarto project and edits the _quarto.yml file accordingly. A demo file for webexercises will be added and optionally rendered.

add_to_quarto(
  quarto_dir = ".",
  include_dir = "include",
  output_format = c("html")
)

Arguments

quarto_dir

The base directory for your quarto project

include_dir

The directory where you want to put the css and js files (defaults to "include")

output_format

The format you want to add webexercises to (only html for now)

Value

No return value, called for side effects.