cli_status <- function(msg, ..., .auto_close = FALSE) {
msg
cli::cli_status(
msg = "{.alert {msg}}",
msg_done = "{.alert-success {msg}}",
msg_failed = "{.alert-danger {msg}}",
.auto_close = .auto_close,
...
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.