Skip to content

Commit a9724da

Browse files
committed
pnpm requires direct dependency for fonts; fix #31
1 parent 4262531 commit a9724da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/kit.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
npm install @observablehq/notebook-kit
2727
```
2828

29+
If you use [pnpm](https://pnpm.io/), you must also explicitly install any fonts used by the [default styles](https://github.com/observablehq/notebook-kit/blob/main/src/templates/default.html) (unless you plan on using different fonts):
30+
31+
```sh
32+
pnpm install @observablehq/notebook-kit @fontsource/inter @fontsource/source-serif-4 @fontsource/spline-sans-mono
33+
```
34+
2935
Notebook Kit requires [Node.js](https://nodejs.org/en) 20.19+ or 22.12+.
3036
</script>
3137
<script id="47" type="text/markdown">

0 commit comments

Comments
 (0)