library(fontawesome)
r fa("font-awesome", fill = "forestgreen")
It works well in headings...
r fa("r-project", fill = "steelblue")
H1 Headingr fa("r-project", fill = "steelblue")
H2 Headingr fa("r-project", fill = "steelblue")
H3 Headingr fa("r-project", fill = "steelblue")
H4 Headingr fa("r-project", fill = "steelblue")
H5 Heading...and works equally well within inline text: r fa("r-project", fill = "steelblue")
.
We can also change size, like this icon r fa("r-project", fill = "steelblue", height = "7em")
or this one r fa("r-project", fill = "steelblue", height = "4em", width = "4em")
or this one r fa("r-project", fill = "steelblue", width = "6em")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.