[ci] yarn format
This commit is contained in:
parent
097d7777c4
commit
b238b8c248
1 changed files with 14 additions and 14 deletions
|
@ -25,12 +25,12 @@
|
||||||
```typescript
|
```typescript
|
||||||
// src/pages/company.json.ts
|
// src/pages/company.json.ts
|
||||||
export async function get() {
|
export async function get() {
|
||||||
return {
|
return {
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
name: 'Astro Technology Company',
|
name: 'Astro Technology Company',
|
||||||
url: 'https://astro.build/',
|
url: 'https://astro.build/',
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1385,10 +1385,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
|
||||||
|
|
||||||
```js
|
```js
|
||||||
export default {
|
export default {
|
||||||
markdownOptions: {
|
markdownOptions: {
|
||||||
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
|
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
|
||||||
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
|
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1408,10 +1408,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
|
||||||
|
|
||||||
```js
|
```js
|
||||||
export default {
|
export default {
|
||||||
name: '@matthewp/my-renderer',
|
name: '@matthewp/my-renderer',
|
||||||
server: './server.js',
|
server: './server.js',
|
||||||
client: './client.js',
|
client: './client.js',
|
||||||
hydrationPolyfills: ['./my-polyfill.js'],
|
hydrationPolyfills: ['./my-polyfill.js'],
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue