summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2022-04-04 06:26:31 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-04-04 06:26:31 +0000
commitc2ed6fe3602e6e7aaf7654703c9dedca758eda97 (patch)
tree2de957d7750a0626c02e585e1c1292019cc4dd87
parent2552db0d0903b0e96b0d20722b2e311a25e76217 (diff)
downloadastro-c2ed6fe3602e6e7aaf7654703c9dedca758eda97.tar.gz
astro-c2ed6fe3602e6e7aaf7654703c9dedca758eda97.tar.zst
astro-c2ed6fe3602e6e7aaf7654703c9dedca758eda97.zip
-rw-r--r--packages/astro/CHANGELOG.md64
-rw-r--r--packages/markdown/remark/CHANGELOG.md8
2 files changed, 36 insertions, 36 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index c5c721421..cda6ba517 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -112,7 +112,7 @@
import netlify from '@astrojs/netlify/functions';
export default defineConfig({
- adapter: netlify(),
+ adapter: netlify(),
});
```
@@ -132,7 +132,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -192,7 +192,7 @@
import nodejs from '@astrojs/node';
export default {
- adapter: nodejs(),
+ adapter: nodejs(),
};
```
@@ -288,7 +288,7 @@
import { defineConfig } from 'astro/config';
export default defineConfig({
- renderers: [],
+ renderers: [],
});
```
@@ -326,9 +326,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -348,7 +348,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -432,7 +432,7 @@
```ts
if (Astro.slots.has('default')) {
- const content = await Astro.slots.render('default');
+ const content = await Astro.slots.render('default');
}
```
@@ -456,9 +456,9 @@
```json
{
- "scripts": {
- "build": "astro build --legacy-build"
- }
+ "scripts": {
+ "build": "astro build --legacy-build"
+ }
}
```
@@ -570,12 +570,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/',
+ }),
+ };
}
```
@@ -737,12 +737,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/',
+ }),
+ };
}
```
@@ -2097,10 +2097,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' }]],
+ },
};
```
@@ -2120,10 +2120,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'],
};
```
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index d020c1069..ce0dc0002 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -199,10 +199,10 @@
```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' }]],
+ },
};
```