From 6bdbdf4c494b4a7a6b56cdf45b691163ffe8d6b2 Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 08 May 2026 16:39:45 +0000 Subject: [PATCH] astro: allow SVGs --- astro.config.mjs | 1 + package.json | 2 +- 2 file(s) changed, 2 insertion(s)(+), 1 deletion(s)(-) diff --git a/astro.config.mjs b/astro.config.mjs --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,6 +10,7 @@ export default defineConfig({ site: "https://bwc9876.dev", compressHTML: true, integrations: [mdx(), icon({ iconDir: "src/assets/icons" }), sitemap(), playformInline()], + image: { dangerouslyProcessSVG: true, }, markdown: { shikiConfig: { theme: "catppuccin-mocha" diff --git a/package.json b/package.json --- a/package.json +++ b/package.json @@ -40,4 +40,4 @@ "@types/sanitize-html": "^2.16.1", "prettier": "^3.8.3", "prettier-plugin-astro": "^0.14.1" } -} \ No newline at end of file +} -- tangled.sh