Skip to content

Commit

Permalink
docs: add best practice for fonts persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie1210 committed Oct 4, 2024
1 parent c55e4da commit 85f9be8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,12 @@ await satori(
)
```

Multiple fonts can be passed to Satori and used in `fontFamily`.
Multiple fonts can be passed to Satori and used in

> [!TIP]
> We recommend you define global fonts instead of creating a new object and pass it to satori for better performace. [Read it for more detail](https://github.com/vercel/satori/issues/590)
`fontFamily`.

#### Emojis

Expand Down

0 comments on commit 85f9be8

Please sign in to comment.