Skip to content

"Google Fonts": Chapbook (v1.0.0)#

Summary#

Chapbook provides a global variable, config.style.googleFont, that can be used within the Vars Section to load and use an external font.

Live Example#

Download

Twee Code#

:: StoryTitle
Chapbook: Google Fonts

:: Start
config.style.googleFont: '<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">'
config.style.page.font: 'Roboto'
--
This text is styled by a Google Font.

Twee Download