diff --git a/src/content/docs/en/reference/configuration-reference.mdx b/src/content/docs/en/reference/configuration-reference.mdx index af52321eb1139..5ea37f427b787 100644 --- a/src/content/docs/en/reference/configuration-reference.mdx +++ b/src/content/docs/en/reference/configuration-reference.mdx @@ -361,8 +361,8 @@ Using `'attribute'` is useful when you are manipulating the `class` attribute of

-**Type:** `object`
-**Default:** `{}`
+**Type:** `Record.<"checkOrigin", boolean> | undefined`
+**Default:** `{checkOrigin: true}`

@@ -640,7 +640,7 @@ Control whether project styles are sent to the browser in a separate css file or ```js { build: { - inlineStylesheets: 'never', + inlineStylesheets: `never`, }, } ``` @@ -651,7 +651,7 @@ Customize the Astro dev server, used by both `astro dev` and `astro preview`. ```js { - server: { port: 1234, host: true } + server: { port: 1234, host: true} } ``` @@ -878,7 +878,7 @@ Set `false` to bypass the default image size limit for the Sharp image service a

**Type:** `Array.`
-**Default:** `[]`
+**Default:** `{domains: []}`

@@ -926,7 +926,6 @@ Defines a list of permitted image source URL patterns for remote image optimizat ``` You can use wildcards to define the permitted `hostname` and `pathname` values as described below. Otherwise, only the exact values provided will be configured: - `hostname`: - Start with '**.' to allow all subdomains ('endsWith'). - Start with '*.' to allow only one level of subdomain. @@ -982,7 +981,7 @@ Pass [remark plugins](https://github.com/remarkjs/remark) to customize how your import remarkToc from 'remark-toc'; { markdown: { - remarkPlugins: [ [remarkToc, { heading: "contents" }] ] + remarkPlugins: [ [remarkToc, { heading: "contents"} ] ] } } ``` @@ -1056,7 +1055,7 @@ Pass options to [remark-rehype](https://github.com/remarkjs/remark-rehype#api). { markdown: { // Example: Translate the footnotes text to another language, here are the default English values - remarkRehype: { footnoteLabel: "Footnotes", footnoteBackLabel: "Back to reference 1" }, + remarkRehype: { footnoteLabel: "Footnotes", footnoteBackLabel: "Back to reference 1"}, }, }; ```