Fontawesome1 A collection of vector icons and logos, https://fontawesome.com. icon support is actually included in R Markdown out of the box (!), but has to be enabled manually.
Include the chunk:
```{r setup, include=FALSE}
htmltools::tagList(rmarkdown::html_dependency_font_awesome())
```
to register the required dependencies, then you can include Fontawesome icons2 You can find icon HTML codes in the gallery. via HTML snippets:
<i class="fab fa-github"></i>
Code | Icon |
---|---|
<i class="fab fa-r-project"></i> |
|
<i class="fab fa-github"></i> |
|
<i class="fas fa-camera"></i> |
|
<i class="fas fa-envelope"></i> |