diff options
author | 2022-03-21 04:03:05 +0000 | |
---|---|---|
committer | 2022-03-21 04:03:05 +0000 | |
commit | fd7ab4e11cfd99871c0eaa6445708ba87aa65305 (patch) | |
tree | 4d8d13d7dec7d1d1b6e8b75070d18667b48a14f7 | |
parent | 078b6cde6c041274e6c0ab67764f12ab0420c5df (diff) | |
download | astro-fd7ab4e11cfd99871c0eaa6445708ba87aa65305.tar.gz astro-fd7ab4e11cfd99871c0eaa6445708ba87aa65305.tar.zst astro-fd7ab4e11cfd99871c0eaa6445708ba87aa65305.zip |
[ci] format
-rw-r--r-- | packages/astro/CHANGELOG.md | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index b5912b888..71d35ce54 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -52,7 +52,7 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - renderers: [], + renderers: [], }); ``` @@ -90,9 +90,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -112,7 +112,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -196,7 +196,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -220,9 +220,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -334,12 +334,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/', + }), + }; } ``` @@ -501,12 +501,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/', + }), + }; } ``` @@ -1861,10 +1861,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' }]], + }, }; ``` @@ -1884,10 +1884,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'], }; ``` |