Show HTML or SVG content in the rstudio viewer pane
Arguments
- x
svg or html
- viewer
function which activates viewer
Examples
if (FALSE) { # interactive()
# This example will try and spawn an external viewer for HTML content
hl_grep(mode, "switch") |>
as_html() |>
show_html()
}