show_html | R Documentation |
Show HTML or SVG content in the rstudio viewer pane
show_html(x, viewer = getOption("viewer", utils::browseURL))
x |
svg or html |
viewer |
function which activates viewer |
None
# This example will try and spawn an external viewer for HTML content
hl_grep(mode, "switch") |>
as_html() |>
show_html()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.