(font: String) → Changer

This styling Command changes the font used to display the text of the attached hook. Provide the font's family name (such as “Helvetica Neue” or “Courier”) as a string.

Example usage:

(font:"Skia")[And what have we here?]

Details:

Currently, this command will only work if the font is available to the player's browser. If font files are embedded in your story stylesheet using base64 (an explanation for which is beyond the scope of this macro's description) then it can be uses instead.

No error will be reported if the provided font name is not available, invalid or misspelled.

See also:

(text-style:)