Skip to content

Commit

Permalink
feat: add ability to zoom into images
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 20, 2024
1 parent 103f51c commit 617743c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightDocSearch from "@astrojs/starlight-docsearch";
import starlightLinksValidator from "starlight-links-validator";
import starlightImageZoom from "starlight-image-zoom";
import tailwind from "@astrojs/tailwind";

const locales = {
Expand Down Expand Up @@ -126,6 +127,7 @@ export default defineConfig({
// indexName: "astronvim",
// }),
starlightLinksValidator(),
starlightImageZoom(),
],
customCss: [
// Path to your Tailwind base styles:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.5.7",
"sharp": "^0.33.2",
"starlight-image-zoom": "^0.1.0",
"starlight-links-validator": "^0.5.3",
"tailwindcss": "^3.4.1"
},
Expand Down
15 changes: 15 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 617743c

Please sign in to comment.