Skip to content

Commit a277656

Browse files
Fix Svelte syntax highlighting by adding space after backticks
- Change ' svelte' for proper syntax highlighting - Addresses GitHub comment from rtomas about syntax highlighting not working - Updated 6 files with Svelte code blocks across all adapters Co-Authored-By: rohit@reown.com <rrohitramesh710@gmail.com>
1 parent b6bea36 commit a277656

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

appkit/svelte/core/installation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Check the Svelte Ethers example
163163

164164
The recommended way to trigger the modal in Svelte is to use the `<appkit-button />` web component. After setting up AppKit in your application, you can simply use the button component anywhere in your Svelte templates:
165165

166-
```svelte
166+
``` svelte
167167
<script lang="ts">
168168
// Import your AppKit configuration to ensure it's initialized
169169
import '$lib/appkit';
@@ -184,7 +184,7 @@ The `<appkit-button />` is a web component that's automatically registered when
184184

185185
You can also trigger the modal programmatically using the AppKit instance:
186186

187-
```svelte
187+
``` svelte
188188
<script lang="ts">
189189
import { appKit } from '$lib/appkit';
190190
@@ -208,7 +208,7 @@ You can also trigger the modal programmatically using the AppKit instance:
208208

209209
Or use other AppKit web components:
210210

211-
```svelte
211+
``` svelte
212212
<appkit-connect-button />
213213
<appkit-account-button />
214214
<appkit-network-button />

snippets/appkit/svelte/bitcoin/about/triggermodal.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
You can trigger the modal by calling the `open` method from AppKit instance.
22

3-
```svelte
3+
``` svelte
44
<!-- +page.svelte -->
55
<script>
66
import { appKit } from '$lib/appkit'
@@ -15,7 +15,7 @@ You can trigger the modal by calling the `open` method from AppKit instance.
1515

1616
You can also select the modal's view when calling the `open` function.
1717

18-
```svelte
18+
``` svelte
1919
<script>
2020
import { appKit } from '$lib/appkit'
2121

snippets/appkit/svelte/ethers/about/triggermodal.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
You can trigger the modal by calling the `open` method from AppKit instance.
22

3-
```svelte
3+
``` svelte
44
<!-- +page.svelte -->
55
<script>
66
import { appKit } from '$lib/appkit'
@@ -15,7 +15,7 @@ You can trigger the modal by calling the `open` method from AppKit instance.
1515

1616
You can also select the modal's view when calling the `open` function.
1717

18-
```svelte
18+
``` svelte
1919
<script>
2020
import { appKit } from '$lib/appkit'
2121

snippets/appkit/svelte/solana/about/triggermodal.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
You can trigger the modal by calling the `open` method from AppKit instance.
22

3-
```svelte
3+
``` svelte
44
<!-- +page.svelte -->
55
<script>
66
import { appKit } from '$lib/appkit'
@@ -15,7 +15,7 @@ You can trigger the modal by calling the `open` method from AppKit instance.
1515

1616
You can also select the modal's view when calling the `open` function.
1717

18-
```svelte
18+
``` svelte
1919
<script>
2020
import { appKit } from '$lib/appkit'
2121

snippets/appkit/svelte/wagmi/about/implementation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export { appKit }
5454

5555
Then import this configuration in your app layout to ensure AppKit is initialized:
5656

57-
```svelte
57+
``` svelte
5858
<!-- src/routes/+layout.svelte -->
5959
<script>
6060
import '$lib/appkit';

snippets/appkit/svelte/wagmi/about/triggermodal.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The recommended way to trigger the modal is using the `initializeAppKit` function and web components:
22

3-
```svelte
3+
``` svelte
44
<script lang="ts">
55
import { initializeAppKit } from './lib/stores/appkit';
66
@@ -15,7 +15,7 @@ The recommended way to trigger the modal is using the `initializeAppKit` functio
1515

1616
You can also trigger the modal programmatically by calling the `open` method from AppKit instance:
1717

18-
```svelte
18+
``` svelte
1919
<!-- +page.svelte -->
2020
<script>
2121
import { appKit } from '$lib/appkit'
@@ -30,7 +30,7 @@ You can also trigger the modal programmatically by calling the `open` method fro
3030

3131
You can select the modal's view when calling the `open` function:
3232

33-
```svelte
33+
``` svelte
3434
<script>
3535
import { appKit } from '$lib/appkit'
3636

0 commit comments

Comments
 (0)