Skip to content

Commit 209b908

Browse files
committed
feat(images): Implement starlight-image-zoom
1 parent fd91a4c commit 209b908

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import react from "@astrojs/react";
1919
import starlightLlmsTxt from "starlight-llms-txt";
2020
import favicons from "astro-favicons";
2121
import icon from "astro-icon";
22+
import starlightImageZoom from "starlight-image-zoom";
2223
import { sidebar } from "./astro.sidebar.ts";
2324
import { ENV } from "./src/lib/env";
2425
import { ogImagesIntegration } from "./src/integrations/ogImages";
@@ -128,6 +129,7 @@ export default defineConfig({
128129
TwoColumnContent: "./src/starlight-overrides/TwoColumnContent.astro",
129130
},
130131
plugins: [
132+
starlightImageZoom(),
131133
starlightLinksValidator({
132134
errorOnFallbackPages: false,
133135
errorOnInconsistentLocale: true,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"react-dom": "^19.1.0",
6666
"react-markdown": "^10.1.0",
6767
"react-syntax-highlighter": "^15.6.1",
68+
"starlight-image-zoom": "^0.13.0",
6869
"starlight-links-validator": "^0.17.2",
6970
"tailwindcss": "^4.1.11"
7071
},

pnpm-lock.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)