powered by
Function takes character string, splits it based on delimiter, and returns each element of the resultant vector on its own slide
text_reveal( text, sep = " ", md_prefix = "#", sep_replace = "", slide_break = "---", class = "class: inverse, middle, center" )
a character string to be split and delivered piece-wise to a slide
a character string to delimit the split of the input text
a character string prefix to each markdown element, defaults to "#"
a character string that will replace the delimiter, defaults to empty string ""
a character string containing slide break characters, defaults to "---" for xaringan slideshows
a character string in which you can set the class, defaults to "class: inverse, middle, center"
knit text to be interpreted as slides
# NOT RUN { text_reveal("Hello world", sep = " ") # }
Run the code above in your browser using DataLab