| font_google | R Documentation |
Create a font specification for a Google Font,
to be used with font_set().
font_google(family, subset = c("latin", "latin-ext"))
family |
family name of a 'Google Fonts', for example, "Open Sans", "Roboto", "Fira Code" or "Fira Sans Condensed". |
subset |
font subset, a character vector, it defaults to only "latin" and "latin-ext". |
An object of class font_spec.
Other font set functions:
font_liberation(),
font_set(),
font_set_auto(),
font_set_liberation()
font_google("Roboto")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.