File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 172
172
When you want to share your notebooks as a static site , install the open - source Notebook Kit :
173
173
174
174
`` `sh
175
- npm install @observablehq/notebook-kit
175
+ npm add @observablehq/notebook-kit
176
176
` ``
177
177
</ script >
178
178
< script id ="83 " type ="text/markdown ">
Original file line number Diff line number Diff line change 23
23
You can install Notebook Kit from [ npm ] ( https :/ / www . npmjs . com / package / @observablehq / notebook - kit ) :
24
24
25
25
`` `sh
26
- npm install @observablehq/notebook-kit
26
+ npm add @observablehq/notebook-kit
27
27
` ``
28
28
29
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
30
31
31
`` `sh
32
- pnpm install @observablehq/notebook-kit @fontsource/inter @fontsource/source-serif-4 @fontsource/spline-sans-mono
32
+ pnpm add @observablehq/notebook-kit @fontsource/inter @fontsource/source-serif-4 @fontsource/spline-sans-mono
33
33
` ``
34
34
35
35
Notebook Kit requires [ Node . js ] ( https :/ / nodejs . org / en ) 20.19 + or 22.12 + .
You can’t perform that action at this time.
0 commit comments