Skip to content

JohnCoene/typedjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typed

R implementation of typed.js for Rmarkdown.

Installation

# install.packages("remotes")
remotes::install_github("JohnCoene/typedjs")

Example

library(typedjs)

typed("Hello")
typed(
	"Emphasis word <span style ='color: red;'>with html</span>.",
	contentType = "html"
)
typed(
	list(
		shiny::h3("First sentence."), 
		shiny::h4("Second sentence")
	), 
	typeSpeed = 2
)