get_usable_family | R Documentation |
Helper function. Checks if a given family value is available, and if not returns the default font family ("sans" or user provided)
get_usable_family(family, silent = FALSE, default_family = "sans")
family |
the font family to check as a character |
silent |
logical. If TRUE doesn't raise a warning if the font family is unavailable |
default_family |
defaults to "sans", but can be set to another fallback family. |
a character of a usable font family
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.