library(rlang)
# inform() prints to file
local({
file <- tempfile("inform-file-custom")
inform("foo", .file = file)
stopifnot(identical(readLines(file), "foo"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.