We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60ef55e + da0820d commit 424d2e8Copy full SHA for 424d2e8
src/type/p5.Font.js
@@ -1451,7 +1451,8 @@ function font(p5, fn) {
1451
* <code>
1452
* // Some other forms of loading fonts:
1453
* loadFont("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap");
1454
- * loadFont(`@font-face { font-family: "Bricolage Grotesque", serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-variation-settings: "wdth" 100; }`);
+ *
1455
+ * loadFont('@font-face { font-family: "Bricolage Grotesque", serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; font-variation-settings: "wdth" 100; }');
1456
* </code>
1457
* </div>
1458
*/
0 commit comments