File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
packages/docs/src/content/docs/guides Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ The CldImage component allows you to easily remove backgrounds from images using
2424 />
2525</div >
2626
27- <Tabs >
28- <Tab type = " code" open title = " CldImage" >
29-
3027``` svelte
3128<script>
3229 import { CldImage } from 'svelte-cloudinary';
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ then pass it in to our CldImage component.
4848
4949 Inside of the SvelteKit app, we can utilize server side code to generate a data URL from our image.
5050
51- < CodeBlock >
51+
5252
5353``` js
5454
@@ -70,7 +70,7 @@ export const load = () => {
7070}
7171```
7272
73- </ CodeBlock >
73+
7474
7575 Then when rendering CldImage, utilize the ` dataUrl ` using ` placeholder ` and ` blurDataURL ` :
7676
@@ -109,7 +109,7 @@ our images are loading.
109109
110110Inside of the SvelteKit app you can use a server side code ` +page.server.js ` to generate a data URL from our image.
111111
112- < CodeBlock >
112+
113113
114114``` js
115115export const load = () => {
@@ -137,7 +137,7 @@ export const load = () => {
137137};
138138```
139139
140- </ CodeBlock >
140+
141141
142142 Then when rendering CldImage, utilize the ` dataUrl ` using ` placeholder ` :
143143
You can’t perform that action at this time.
0 commit comments