roxytest_addin <- function() {
context <- rstudioapi::getActiveDocumentContext()
text <- context$selection[[1]]$text
make_test_shell_fun(text, roxytest = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.