show_html: Show HTML or SVG content in the rstudio viewer pane

View source: R/core-html.R

show_htmlR Documentation

Show HTML or SVG content in the rstudio viewer pane

Description

Show HTML or SVG content in the rstudio viewer pane

Usage

show_html(x, viewer = getOption("viewer", utils::browseURL))

Arguments

x

svg or html

viewer

function which activates viewer

Value

None

Examples


# This example will try and spawn an external viewer for HTML content
hl_grep(mode, "switch") |>
  as_html() |>
  show_html()


coolbutuseless/emphatic documentation built on Dec. 27, 2024, 1:18 a.m.