Description Usage Arguments Value Examples
View source: R/g_exported_functions.R
Function takes character string, splits it based on delimiter, and returns each element of the resultant vector on its own slide
1 2 3 4 5 6 7 8 | text_reveal(
text,
sep = " ",
md_prefix = "#",
sep_replace = "",
slide_break = "---",
class = "class: inverse, middle, center"
)
|
text |
a character string to be split and delivered piece-wise to a slide |
sep |
a character string to delimit the split of the input text |
md_prefix |
a character string prefix to each markdown element, defaults to "#" |
sep_replace |
a character string that will replace the delimiter, defaults to empty string "" |
slide_break |
a character string containing slide break characters, defaults to "—" for xaringan slideshows |
class |
a character string in which you can set the class, defaults to "class: inverse, middle, center" |
knit text to be interpreted as slides
1 | text_reveal("Hello world", sep = " ")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.