Description Usage Arguments Examples
Only font files of type .ttf
, .eot
, and
.woff
are compatible with this package.
1 2 |
path |
The path to the font file. |
font_name |
The name of the font as it will appear
in the stylesheet. If |
bold |
If |
italic |
If |
weight |
The numeric weight of the font. The default
value is |
1 2 3 4 5 6 | ## Not run:
verdana <- font_options("~/Desktop/verdana.ttf", weight=800)
monaco <- font_options("~/Desktop/monaco-black.woff", font_name="Monaco")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.