gf_add_font: Add Google Fonts to 'tags' or 'tagList'

Description Usage Arguments Value

Description

Add Google Fonts to 'tags' or 'tagList'

Usage

1
2
gf_add_font(tag_list = htmltools::tagList(), fontname = NULL,
  customstyle = character(), addstyle = TRUE)

Arguments

tag_list

htmltools::tags or htmltools::tagList

fontname

character valid Google Font name

customstyle

character of custom weights and styles

addstyle

logical to add style tag to use the Google Font for body text

Value

htmltools::tags or htmltools::tagList with attached Google Font dependency


timelyportfolio/googlefontR documentation built on May 31, 2019, 1:50 p.m.