knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figure/"
)

icon

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")


earowang/icon documentation built on May 28, 2019, 7:55 p.m.