Description Usage Arguments Examples
You can browse Google fonts at https://www.google.com/fonts.
1 | google_font_options(font_name, bold = FALSE, italic = FALSE, weight = 400)
|
font_name |
The name of the font exactly as it appears on Google fonts. Case sensitive. |
bold |
If |
italic |
If |
weight |
The numeric weight of the font. The default
value is |
1 2 3 4 5 6 | ## Not run:
open_sans <- google_font_options("Open Sans", weight=600)
roboto <- google_font_options("Roboto", italic=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.