summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro-rss/README.md24
-rw-r--r--packages/integrations/image/README.md2
-rw-r--r--packages/integrations/markdoc/README.md36
-rw-r--r--packages/integrations/sitemap/README.md2
-rw-r--r--packages/integrations/svelte/README.md2
-rw-r--r--packages/webapi/README.md16
6 files changed, 41 insertions, 41 deletions
diff --git a/packages/astro-rss/README.md b/packages/astro-rss/README.md
index 32d48dc42..5a0011d1f 100644
--- a/packages/astro-rss/README.md
+++ b/packages/astro-rss/README.md
@@ -116,18 +116,18 @@ When providing a formatted RSS item list, see the `RSSFeedItem` type reference b
```ts
type RSSFeedItem = {
- /** Link to item */
- link: string;
- /** Title of item */
- title: string;
- /** Publication date of item */
- pubDate: Date;
- /** Item description */
- description?: string;
- /** Full content of the item, should be valid HTML */
- content?: string;
- /** Append some other XML-valid data to this item */
- customData?: string;
+ /** Link to item */
+ link: string;
+ /** Title of item */
+ title: string;
+ /** Publication date of item */
+ pubDate: Date;
+ /** Item description */
+ description?: string;
+ /** Full content of the item, should be valid HTML */
+ content?: string;
+ /** Append some other XML-valid data to this item */
+ customData?: string;
};
```
diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md
index e53b1a08a..5d94c9893 100644
--- a/packages/integrations/image/README.md
+++ b/packages/integrations/image/README.md
@@ -506,7 +506,7 @@ import { defineConfig } from 'astro/config';
import image from '@astrojs/image';
export default defineConfig({
- integrations: [image({
+ integrations: [image({
// may be useful if your hosting provider allows caching between CI builds
cacheDir: "./.cache/image"
})]
diff --git a/packages/integrations/markdoc/README.md b/packages/integrations/markdoc/README.md
index 58efd0735..2cc8f32e5 100644
--- a/packages/integrations/markdoc/README.md
+++ b/packages/integrations/markdoc/README.md
@@ -113,21 +113,21 @@ import markdoc from '@astrojs/markdoc';
// https://astro.build/config
export default defineConfig({
- integrations: [
- markdoc({
- tags: {
- aside: {
- render: 'Aside',
+ integrations: [
+ markdoc({
+ tags: {
+ aside: {
+ render: 'Aside',
attributes: {
// Component props as attribute definitions
// See Markdoc's documentation on defining attributes
// https://markdoc.dev/docs/attributes#defining-attributes
type: { type: String },
}
- },
- },
- }),
- ],
+ },
+ },
+ }),
+ ],
});
```
@@ -159,11 +159,11 @@ import markdoc from '@astrojs/markdoc';
// https://astro.build/config
export default defineConfig({
- integrations: [
- markdoc({
- nodes: {
- heading: {
- render: 'Heading',
+ integrations: [
+ markdoc({
+ nodes: {
+ heading: {
+ render: 'Heading',
// Markdoc requires type defs for each attribute.
// These should mirror the `Props` type of the component
// you are rendering.
@@ -172,10 +172,10 @@ export default defineConfig({
attributes: {
level: { type: String },
}
- },
- },
- }),
- ],
+ },
+ },
+ }),
+ ],
});
```
diff --git a/packages/integrations/sitemap/README.md b/packages/integrations/sitemap/README.md
index 99e730997..cb532f7b9 100644
--- a/packages/integrations/sitemap/README.md
+++ b/packages/integrations/sitemap/README.md
@@ -87,7 +87,7 @@ After verifying that the sitemaps are built, you can add them to your site's `<h
```html ins={3}
// src/layouts/Layout.astro
<head>
- <link rel="sitemap" href="/sitemap-index.xml">
+ <link rel="sitemap" href="/sitemap-index.xml">
</head>
```
diff --git a/packages/integrations/svelte/README.md b/packages/integrations/svelte/README.md
index 52d1fdc95..1c8b98b82 100644
--- a/packages/integrations/svelte/README.md
+++ b/packages/integrations/svelte/README.md
@@ -126,7 +126,7 @@ __`svelte.config.js`__
import { vitePreprocess } from '@astrojs/svelte';
export default {
- preprocess: vitePreprocess(),
+ preprocess: vitePreprocess(),
};
```
diff --git a/packages/webapi/README.md b/packages/webapi/README.md
index 4a0d9b5c9..cf8390108 100644
--- a/packages/webapi/README.md
+++ b/packages/webapi/README.md
@@ -108,8 +108,8 @@ The `exclude` option receives a list of WebAPIs to exclude from polyfilling.
```js
polyfill(globalThis, {
- // disables polyfills for setTimeout clearTimeout
- exclude: 'setTimeout clearTimeout',
+ // disables polyfills for setTimeout clearTimeout
+ exclude: 'setTimeout clearTimeout',
})
```
@@ -117,22 +117,22 @@ The `exclude` option accepts shorthands to exclude multiple polyfills. These sho
```js
polyfill(globalThis, {
- // disables polyfills for setTimeout clearTimeout
- exclude: 'Timeout+',
+ // disables polyfills for setTimeout clearTimeout
+ exclude: 'Timeout+',
})
```
```js
polyfill(globalThis, {
- // disables polyfills for Node, Window, Document, HTMLElement, etc.
- exclude: 'Node+',
+ // disables polyfills for Node, Window, Document, HTMLElement, etc.
+ exclude: 'Node+',
})
```
```js
polyfill(globalThis, {
- // disables polyfills for Event, EventTarget, Node, Window, Document, HTMLElement, etc.
- exclude: 'Event+',
+ // disables polyfills for Event, EventTarget, Node, Window, Document, HTMLElement, etc.
+ exclude: 'Event+',
})
```