| raw_html | R Documentation |
Wraps one or more character strings so that render() outputs them
verbatim, without escaping HTML special characters.
raw_html(...)
... |
Character strings of raw HTML /// Optional. |
This is useful for injecting pre-rendered HTML, inline
<script>/<style> blocks, SVG markup, or any content that should
not be entity-escaped.
A character vector of class "hypertext.raw".
raw_html("<script>alert('hi')</script>")
render(tags$div(raw_html("<em>already formatted</em>")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.