Skip to content

Commit 4f98e8f

Browse files
sync svelte docs
1 parent 1694a6e commit 4f98e8f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

apps/svelte.dev/content/docs/svelte/01-introduction/02-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Getting started
55

66
We recommend using [SvelteKit](../kit), which lets you [build almost anything](../kit/project-types). It's the official application framework from the Svelte team and powered by [Vite](https://vite.dev/). Create a new project with:
77

8-
```bash
8+
```sh
99
npx sv create myapp
1010
cd myapp
1111
npm install

apps/svelte.dev/content/docs/svelte/07-misc/02-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Unit tests allow you to test small isolated parts of your code. Integration test
1111

1212
To setup Vitest manually, first install it:
1313

14-
```bash
14+
```sh
1515
npm install -D vitest
1616
```
1717

@@ -167,7 +167,7 @@ It is possible to test your components in isolation using Vitest.
167167
168168
To get started, install jsdom (a library that shims DOM APIs):
169169

170-
```bash
170+
```sh
171171
npm install -D jsdom
172172
```
173173

apps/svelte.dev/content/docs/svelte/98-reference/.generated/compile-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /
683683

684684
To automate this, run the dedicated migration:
685685

686-
```bash
686+
```sh
687687
npx sv migrate self-closing-tags
688688
```
689689

apps/svelte.dev/content/docs/svelte/98-reference/30-compiler-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /
704704

705705
To automate this, run the dedicated migration:
706706

707-
```bash
707+
```sh
708708
npx sv migrate self-closing-tags
709709
```
710710

0 commit comments

Comments
 (0)