This R-package allows for easy insertion of animated font awesome or academicons icons into R markdown or Shiny.
It works with inline code such as
cat("`` `r anicon::faa(\"leaf\", animate=\"burst\")` ``")
You can find the vignette here.
You can install this package from github as:
# install.packages("devtools") devtools::install_github('emitanaka/anicon')
![]()
anicon now also has text animation!
![]()
See more in the vignette here.
Font awesome animation is brought thanks to font-awesome-animation.
For still icons you can try either the fontawesome package or icon package .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.