| lt_html | R Documentation |
Mark whole columns so their body cells are emitted as raw HTML instead of
being escaped. By default every cell is HTML-escaped (so <, >, and &
render as literal text); use this to embed links, emphasis, or other markup
in a column's cells.
lt_html(x, columns)
x |
An |
columns |
Column names (character or one-sided formula) whose cells are raw HTML. If missing, all columns are treated as raw HTML. |
To emit raw HTML in other regions (title, column labels, footnotes, ...),
wrap the text in I() in the corresponding lt_*() function instead.
x with the raw-HTML columns recorded.
d = data.frame(
name = c("<a href='#a'>A</a>", "<a href='#b'>B</a>"), n = 1:2
)
lt(d) |> lt_html(~ name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.