Description Usage Arguments Value Examples
View source: R/insert_if_knitting_to_html.R
Insert text only if knitting to HTML
1 | insert_if_knitting_to_html(..., sep = "")
|
... |
The text to insert; will be paste together the separator. |
sep |
The separator. |
Nothing; the text is printed using [cat()].
1 2 3 | ### This will show nothing unless you happen to knit this
### document, like in the Pkgdown version of the manual.
insert_if_knitting_to_html("This only shows up in the HTML version.");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.