From 131c92279ee8a282e71a09523870bb0e7df80627 Mon Sep 17 00:00:00 2001 From: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> Date: Mon, 10 Jul 2023 10:37:09 -0300 Subject: [PATCH] Update prefetch README filename styling (#7613) --- .changeset/ten-buckets-rush.md | 5 +++++ packages/integrations/prefetch/README.md | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/ten-buckets-rush.md diff --git a/.changeset/ten-buckets-rush.md b/.changeset/ten-buckets-rush.md new file mode 100644 index 0000000000..8b5983695e --- /dev/null +++ b/.changeset/ten-buckets-rush.md @@ -0,0 +1,5 @@ +--- +"@astrojs/prefetch": patch +--- + +Update prefetch README filename syntax diff --git a/packages/integrations/prefetch/README.md b/packages/integrations/prefetch/README.md index 6502265ece..5ba1d1ffe3 100644 --- a/packages/integrations/prefetch/README.md +++ b/packages/integrations/prefetch/README.md @@ -86,9 +86,8 @@ export default defineConfig({ By default, the prefetch script also searches the page for any links that include a `rel="prefetch-intent"` attribute, ex: ``. This behavior can be changed in your `astro.config.*` file to use a custom query selector when finding prefetch-intent links. -**`astro.config.mjs`** - ```js +// astro.config.mjs import { defineConfig } from 'astro/config'; import prefetch from '@astrojs/prefetch';