as_html {emphatic} | R Documentation |
Render an emphatic object to HTML
Description
Render an emphatic object to HTML
Usage
as_html(
x,
...,
font_size = NULL,
style = list(),
complete = FALSE,
browsable = FALSE
)
Arguments
x |
emphatic object |
... |
other arguments passed to |
font_size |
CSS font-size. Default: NULL means to not adjust font size.
Otherwise, use valid CSS |
style |
html tag styling to apply to the |
complete |
logical. Default: FALSE. If TRUE, then add DOCTYPE and the tags for 'html', 'body' and 'head' to make a complete standalone html file. |
browsable |
Should the SVG be rendered to the RStudio Viewer pane when when printed (instead of console output)? Default: FALSE |
Value
Character string containing HTML representation
Examples
hl_diff('hello', 'there') |>
as_html() |>
cat()
[Package emphatic version 0.1.8 Index]