insert_if_knitting_to_html: Insert text only if knitting to HTML

Description Usage Arguments Value Examples

View source: R/insert_if_knitting_to_html.R

Description

Insert text only if knitting to HTML

Usage

1

Arguments

...

The text to insert; will be paste together the separator.

sep

The separator.

Value

Nothing; the text is printed using [cat()].

Examples

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.");

Matherion/mdmcda documentation built on Dec. 31, 2020, 3:13 p.m.