From 580c1bd608771efc15cf9cdf1784aba74ed83240 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Wed, 12 Mar 2025 18:27:41 +0000
Subject: [PATCH] fix(typography): properly pass Google font options (#1825)

---
 docs/configuration.md |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/docs/configuration.md b/docs/configuration.md
index 1622da6..e29dc80 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -108,3 +108,25 @@
 You can see a list of all plugins and their configuration options [[tags/plugin|here]].
 
 If you'd like to make your own plugins, see the [[making plugins|making custom plugins]] guide.
+
+## Fonts
+
+Fonts can be specified as a `string` or a `FontSpecification`:
+
+```ts
+// string
+typography: {
+  header: "Schibsted Grotesk",
+  ...
+}
+
+// FontSpecification
+typography: {
+  header: {
+    name: "Schibsted Grotesk",
+    weights: [400, 700],
+    includeItalic: true,
+  },
+  ...
+}
+```

--
Gitblit v1.10.0