knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figure/" )
An R package to easily insert web icons, including font awesome, academicons and ionicons, into RMarkdown. Besides emoji, a sea of icons are floating around the web, which provides new options (or have fun) for digital expressions. Please see the vignette for details.
It works with inline code `r '\x60r icon::fa("rocket")\x60'`
and chunks:
```r icon::fa("rocket") ```
The development version can be installed from GitHub using:
# install.packages("devtools") devtools::install_github("earowang/icon")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.