Skip to content

Commit

Permalink
[BETA] ci: update reference docs (#9549)
Browse files Browse the repository at this point in the history
Co-authored-by: delucis <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
3 people authored Oct 3, 2024
1 parent 6e32f93 commit 8606cf8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/content/docs/en/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ Using `'attribute'` is useful when you are manipulating the `class` attribute of

<p>

**Type:** `object`<br />
**Default:** `{}`<br />
**Type:** `Record.<"checkOrigin", boolean> | undefined`<br />
**Default:** `{checkOrigin: true}`<br />
<Since v="4.9.0" />
</p>

Expand Down Expand Up @@ -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`,
},
}
```
Expand All @@ -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}
}
```

Expand Down Expand Up @@ -878,7 +878,7 @@ Set `false` to bypass the default image size limit for the Sharp image service a
<p>

**Type:** `Array.<string>`<br />
**Default:** `[]`<br />
**Default:** `{domains: []}`<br />
<Since v="2.10.10" />
</p>

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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"} ] ]
}
}
```
Expand Down Expand Up @@ -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"},
},
};
```
Expand Down

0 comments on commit 8606cf8

Please sign in to comment.