font_import | R Documentation |
Presently only supports TrueType fonts.
font_import(paths = NULL, recursive = TRUE, prompt = TRUE, pattern = NULL)
paths |
A vector of directories to search in. (Default is to auto-detect based on OS) |
recursive |
Search recursively in directories? (Default TRUE) |
prompt |
Show confirmation prompt? (Default TRUE) |
pattern |
A regular expression that the filenames must match. |
font_import()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.