diff options
author | 2022-07-30 09:29:03 -0300 | |
---|---|---|
committer | 2022-07-30 09:29:03 -0300 | |
commit | 76ec35ff300e42d17ead890aa7a21ceaaa477fc1 (patch) | |
tree | 7317ff7efe81fbc5a6fe4296c46e6307f3f3c45a | |
parent | 268d44e25b86bccdd95ed69fdce2ef6e585a3908 (diff) | |
download | astro-76ec35ff300e42d17ead890aa7a21ceaaa477fc1.tar.gz astro-76ec35ff300e42d17ead890aa7a21ceaaa477fc1.tar.zst astro-76ec35ff300e42d17ead890aa7a21ceaaa477fc1.zip |
[docs content] Image README formatting (#4082)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r-- | packages/integrations/image/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md index a5a4438c1..60c347ef9 100644 --- a/packages/integrations/image/README.md +++ b/packages/integrations/image/README.md @@ -102,7 +102,7 @@ For images in your project's repository, use the `src` relative to the `public` <p> -**Type:** 'avif' | 'jpeg' | 'png' | 'webp'<br> +**Type:** `'avif' | 'jpeg' | 'png' | 'webp'`<br> **Default:** `undefined` </p> @@ -201,7 +201,7 @@ See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/size <p> **Type:** `number[]`<br> -**Reuqired:** `true` +**Required:** `true` </p> The list of sizes that should be built for responsive images. This is combined with `aspectRatio` to calculate the final dimensions of each built image. @@ -229,7 +229,7 @@ A `number` can also be provided, useful when the aspect ratio is calculated at b <p> -**Type:** Array<'avif' | 'jpeg' | 'png' | 'webp'><br> +**Type:** `Array<'avif' | 'jpeg' | 'png' | 'webp'>`<br> **Default:** `undefined` </p> |