README.md

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
)


JohnCoene/typed documentation built on Dec. 24, 2021, 8:11 p.m.