summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-02-17 16:12:12 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-02-17 16:12:12 +0000
commit137b08efc289111d3fa39ae79dc57f66810978e5 (patch)
treef14f90b033b1f83fbcae56baa0329615bce5252d
parent85eb3141cd2013354985d8f2ce48d791e2e5f1e4 (diff)
downloadastro-137b08efc289111d3fa39ae79dc57f66810978e5.tar.gz
astro-137b08efc289111d3fa39ae79dc57f66810978e5.tar.zst
astro-137b08efc289111d3fa39ae79dc57f66810978e5.zip
[ci] yarn format
-rw-r--r--packages/astro/CHANGELOG.md28
1 files changed, 14 insertions, 14 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index cf66d3d08..8ed58a3c8 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -39,12 +39,12 @@
```typescript
// src/pages/company.json.ts
export async function get() {
- return {
- body: JSON.stringify({
- name: 'Astro Technology Company',
- url: 'https://astro.build/',
- }),
- };
+ return {
+ body: JSON.stringify({
+ name: 'Astro Technology Company',
+ url: 'https://astro.build/',
+ }),
+ };
}
```
@@ -1399,10 +1399,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js
export default {
- markdownOptions: {
- remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
- rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
- },
+ markdownOptions: {
+ remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
+ rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
+ },
};
```
@@ -1422,10 +1422,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js
export default {
- name: '@matthewp/my-renderer',
- server: './server.js',
- client: './client.js',
- hydrationPolyfills: ['./my-polyfill.js'],
+ name: '@matthewp/my-renderer',
+ server: './server.js',
+ client: './client.js',
+ hydrationPolyfills: ['./my-polyfill.js'],
};
```