Skip to content

Commit b159bd1

Browse files
Update fonts.mdx
1 parent 5baf677 commit b159bd1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

fonts.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,21 @@ You can configure separate local fonts for headings and body text:
9898
}
9999
```
100100

101+
### External font URLs
102+
103+
You can also use external font URLs instead of local files:
104+
105+
```json docs.json
106+
{
107+
"fonts": {
108+
"family": "Hubot Sans",
109+
"source": "https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2",
110+
"format": "woff2",
111+
"weight": 400
112+
}
113+
}
114+
```
115+
101116
## Font configuration reference
102117

103118
<ResponseField name="fonts" type="object">

0 commit comments

Comments
 (0)