html

0th

Percentile

Interpret input text as HTML-formatted text

Interpret input text as HTML-formatted text

Usage
html(text, ...)
Arguments
text, ...

the text that is understood to be HTML text, which is to be preserved.

Value

a character object that is tagged as an HTML fragment that is not to be sanitized.

a character object of class html.

Figures

See Also

Other helper functions: cells_styles, escape_latex, gt_latex_dependencies, md, pct, px

Aliases
  • html
Examples
# NOT RUN {
# Use `exibble` to create a gt table;
# when adding a title, use the `html()`
# helper to use html formatting
tab_1 <-
  exibble %>%
  dplyr::select(currency, char) %>%
  gt() %>%
  tab_header(
    title = html("<em>HTML</em>"))

# }
Documentation reproduced from package gt, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.