Code Preview Server

code_preview_server(
  input,
  output,
  session,
  settings,
  code_func_reac,
  download_file
)

Arguments

code_func_reac

reactive function that returns a function(!) with parameters rmarkdown and front_matter that can be called to generate the code

download_file

reactive function that returns the download file name (with or without .Rmd ending)

See also

Other code preview module functions: code_preview_shinyjs_extension(), code_preview_ui()