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
ifas_card=TRUE
- width.cutoff, indent, wrap, args.newline, blank, copy_on_click, ...
passed to
html_highlight_code