diff --git a/src/type/p5.Font.js b/src/type/p5.Font.js index 26fbdd4996..d444db376e 100644 --- a/src/type/p5.Font.js +++ b/src/type/p5.Font.js @@ -1451,7 +1451,8 @@ function font(p5, fn) { * * // Some other forms of loading fonts: * loadFont("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap"); - * loadFont(`@font-face { font-family: "Bricolage Grotesque", serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-variation-settings: "wdth" 100; }`); + * + * loadFont('@font-face { font-family: "Bricolage Grotesque", serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-variation-settings: "wdth" 100; }'); * * */