summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2022-03-10 01:13:16 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-03-10 01:13:16 +0000
commitc5c445f94bca45308ad7c76525716af9bff79daf (patch)
treee741b75776c7e9e4e122a31ea35c59cc9b17b299
parente3ef7dc71aa19bdb16decc12727a35a152f1ecc7 (diff)
downloadastro-c5c445f94bca45308ad7c76525716af9bff79daf.tar.gz
astro-c5c445f94bca45308ad7c76525716af9bff79daf.tar.zst
astro-c5c445f94bca45308ad7c76525716af9bff79daf.zip
[ci] format
-rw-r--r--packages/astro/CHANGELOG.md48
1 files changed, 24 insertions, 24 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index f2729af88..76c6d11b2 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -18,7 +18,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -42,9 +42,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -156,12 +156,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/',
+ }),
+ };
}
```
@@ -323,12 +323,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/',
+ }),
+ };
}
```
@@ -1683,10 +1683,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' }]],
+ },
};
```
@@ -1706,10 +1706,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'],
};
```