summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> 2023-07-10 10:37:09 -0300
committerGravatar GitHub <noreply@github.com> 2023-07-10 14:37:09 +0100
commit131c92279ee8a282e71a09523870bb0e7df80627 (patch)
treec729912c916622493bcd78a1e6c08bd8e2a0fbf1
parent904921cbe44e168477c751774a2e01a6cc972a16 (diff)
downloadastro-131c92279ee8a282e71a09523870bb0e7df80627.tar.gz
astro-131c92279ee8a282e71a09523870bb0e7df80627.tar.zst
astro-131c92279ee8a282e71a09523870bb0e7df80627.zip
Update prefetch README filename styling (#7613)
-rw-r--r--.changeset/ten-buckets-rush.md5
-rw-r--r--packages/integrations/prefetch/README.md3
2 files changed, 6 insertions, 2 deletions
diff --git a/.changeset/ten-buckets-rush.md b/.changeset/ten-buckets-rush.md
new file mode 100644
index 000000000..8b5983695
--- /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 6502265ec..5ba1d1ffe 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: `<a rel="prefetch-intent" />`. 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';