show_ui_code: Used by demo project to show the generating code

View source: R/aaa.R

show_ui_codeR Documentation

Used by demo project to show the generating code

Description

Please write your own version. This function is designed for demo-use only.

Usage

show_ui_code(
  x,
  class = NULL,
  code_only = FALSE,
  as_card = FALSE,
  card_title = "",
  class_body = "bg-gray-70",
  width.cutoff = 80L,
  indent = 2,
  wrap = TRUE,
  args.newline = TRUE,
  blank = FALSE,
  copy_on_click = TRUE,
  ...
)

Arguments

x

'HTML' tags generated by this package

class

additional 'HTML' class

code_only

whether to show code only

as_card

whether to wrap results in card

card_title, class_body

used by card if as_card=TRUE

width.cutoff, indent, wrap, args.newline, blank, copy_on_click, ...

passed to html_highlight_code

Value

'HTML' tags

See Also

html_highlight_code


shidashi documentation built on June 24, 2024, 9:09 a.m.