Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
sas-news committed Apr 18, 2024
1 parent 153eedc commit 3cb480c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/src/content/docs/components/link-preview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ You can also allow all HTTPS URLs by setting the `remotePatterns` option in the

```js
export default defineConfig({
image: {
remotePatterns: [{ protocol: "https" }],
}
image: {
remotePatterns: [{ protocol: 'https' }],
},
});
```

Expand Down
7 changes: 3 additions & 4 deletions docs/src/content/docs/components/vimeo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,14 @@ You can also allow all HTTPS URLs by setting the `remotePatterns` option in the

```js
export default defineConfig({
image: {
remotePatterns: [{ protocol: "https" }],
}
image: {
remotePatterns: [{ protocol: 'https' }],
},
});
```

If you are using a local image with the `poster` prop, the image will not be optimized.


## Standalone installation

If you only need the `<Vimeo>` component, you can install the package directly instead of the main `astro-embed` package:
Expand Down
6 changes: 3 additions & 3 deletions docs/src/content/docs/components/youtube.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ You can also allow all HTTPS URLs by setting the `remotePatterns` option in the

```js
export default defineConfig({
image: {
remotePatterns: [{ protocol: "https" }],
}
image: {
remotePatterns: [{ protocol: 'https' }],
},
});
```

Expand Down
2 changes: 1 addition & 1 deletion docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "astro/tsconfigs/strictest"
}
}

0 comments on commit 3cb480c

Please sign in to comment.