Skip to content

Commit 3165315

Browse files
authored
feat: add support for image zoom (#364)
1 parent d8f9072 commit 3165315

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

astro.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { defineConfig } from 'astro/config';
44
import starlight from '@astrojs/starlight';
55
import starlightLinksValidator from 'starlight-links-validator';
66
import starlightAutoSidebar from 'starlight-auto-sidebar';
7+
import starlightImageZoom from 'starlight-image-zoom';
78

89
const site = 'https://docs.shorebird.dev/';
910

@@ -75,6 +76,7 @@ export default defineConfig({
7576
],
7677
plugins: [
7778
starlightAutoSidebar(),
79+
starlightImageZoom(),
7880
starlightLinksValidator({
7981
errorOnFallbackPages: false,
8082
errorOnInconsistentLocale: true,

package-lock.json

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"astro": "^5.7.10",
1919
"sharp": "^0.34.1",
2020
"starlight-auto-sidebar": "^0.1.1",
21+
"starlight-image-zoom": "^0.12.0",
2122
"tailwindcss": "^4.1.5",
2223
"typescript": "^5.8.3"
2324
},

0 commit comments

Comments
 (0)