diff options
Diffstat (limited to 'packages/integrations')
-rw-r--r-- | packages/integrations/image/README.md | 2 | ||||
-rw-r--r-- | packages/integrations/markdoc/README.md | 36 | ||||
-rw-r--r-- | packages/integrations/sitemap/README.md | 2 | ||||
-rw-r--r-- | packages/integrations/svelte/README.md | 2 |
4 files changed, 21 insertions, 21 deletions
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(), }; ``` |