Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

make starlightImageZoom and starlightBlog available together

deploy

+12 -1
+4 -1
starlight/astro.config.mjs
··· 28 28 starlightLinksValidator({ 29 29 exclude: ["/blog/tags/*"], 30 30 }), 31 - // starlightImageZoom(), 31 + starlightImageZoom(), 32 32 starlightBlog({ 33 33 title: "Deep Thoughts", 34 34 authors: { ··· 51 51 zenModeShowTableOfContents: false, 52 52 }), 53 53 ], 54 + components: { 55 + MarkdownContent: "./src/components/MarkdownContent.astro", 56 + }, 54 57 customCss: [ 55 58 "./src/styles/custom.css", 56 59 "@fontsource/nova-square/400.css",
+8
starlight/src/components/MarkdownContent.astro
··· 1 + --- 2 + import type { Props } from '@astrojs/starlight/props' 3 + import Default from "starlight-blog/overrides/MarkdownContent.astro" 4 + import ImageZoom from 'starlight-image-zoom/components/ImageZoom.astro' 5 + --- 6 + 7 + <ImageZoom /> 8 + <Default {...Astro.props}><slot /></Default>