Skip to content

Commit fddc3fb

Browse files
authored
astro image integration (#4)
* astro image integration * change quality to number
1 parent 468ae58 commit fddc3fb

File tree

7 files changed

+693
-24
lines changed

7 files changed

+693
-24
lines changed

astro.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import rehypeAutolinkHeadings from "rehype-autolink-headings"
1010
import rehypeKatex from "rehype-katex"
1111
import remarkGfm from "remark-gfm"
1212
import remarkMath from "remark-math"
13+
import image from "@astrojs/image"
1314

1415
import sitemap from "@astrojs/sitemap"
1516

@@ -32,6 +33,7 @@ export default defineConfig({
3233
solidityRemixCode(),
3334
youtubeEmbed(),
3435
mdx(),
36+
image(),
3537
tailwind({
3638
// Example: Disable injecting a basic `base.css` import on every page.
3739
// Useful if you need to define and/or import your own custom `base.css`.

0 commit comments

Comments
 (0)