Code Preview Server

codePreviewServer(input, output, session, 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: codePreviewShinyjsExtension, codePreviewUI