raw_text | R Documentation |
This function should be called inside a code chunk, and its effect is the
same as the chunk option results = "asis"
. The input character vector will
be written verbatim to the output (and interpreted as Markdown).
raw_text(x, format = NULL)
x |
A character vector (each element will be treated as a line). |
format |
An output format name, e.g., |
A character vector with a special class to indicate that it should be treated as raw output.
litedown::raw_text(c("**This**", "_is_", "[Markdown](#)."))
litedown::raw_text("<b>Bold</b>", "html")
litedown::raw_text("\\textbf{Bold}", "latex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.