File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ The Changelog is [available on GitHub](https://github.com/metonym/svelte-highlig
15
15
16
16
``` bash
17
17
# npm
18
- npm i -D svelte-highlight
18
+ npm i svelte-highlight
19
19
20
20
# pnpm
21
- pnpm i -D svelte-highlight highlight.js
21
+ pnpm i svelte-highlight highlight.js
22
22
23
23
# Bun
24
- bun i -D svelte-highlight
24
+ bun i svelte-highlight
25
25
26
26
# Yarn
27
- yarn add -D svelte-highlight
27
+ yarn add svelte-highlight
28
28
```
29
29
30
30
Note that [ pnpm] ( https://github.com/pnpm/pnpm ) users must also install ` highlight.js ` .
Original file line number Diff line number Diff line change 47
47
<h4 >Installation</h4 >
48
48
</Column >
49
49
<Column xlg ={6 } lg ={9 }>
50
- <CodeSnippet code ="npm i -D {PKG_NAME }" /><br />
51
- <CodeSnippet code ="pnpm i -D {PKG_NAME } highlight.js" /><br />
52
- <CodeSnippet code ="bun add -D {PKG_NAME }" /><br />
53
- <CodeSnippet code ="yarn add -D {PKG_NAME }" />
50
+ <CodeSnippet code ="npm i {PKG_NAME }" /><br />
51
+ <CodeSnippet code ="pnpm i {PKG_NAME } highlight.js" /><br />
52
+ <CodeSnippet code ="bun add {PKG_NAME }" /><br />
53
+ <CodeSnippet code ="yarn add {PKG_NAME }" />
54
54
</Column >
55
55
</Row >
56
56
You can’t perform that action at this time.
0 commit comments