diff --git a/src/lib/components/actions.svelte b/src/lib/components/actions.svelte index d96c292a..c31128b7 100644 --- a/src/lib/components/actions.svelte +++ b/src/lib/components/actions.svelte @@ -166,7 +166,7 @@ isNetlify = true; } stateStore.subscribe(({ code, serialized }) => { - iUrl = `${rendererUrl}/img/${serialized}`; + iUrl = `${rendererUrl}/img/${serialized}?type=png`; svgUrl = `${rendererUrl}/svg/${serialized}`; krokiUrl = `${krokiRendererUrl}/mermaid/svg/${pakoSerde.serialize(code)}`; mdCode = `[![](${iUrl})](${window.location.protocol}//${window.location.host}${window.location.pathname}#${serialized})`; diff --git a/yarn.lock b/yarn.lock index c49c93f7..48214946 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1019,9 +1019,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001370, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001407: - version "1.0.30001420" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001420.tgz" - integrity sha512-OnyeJ9ascFA9roEj72ok2Ikp7PHJTKubtEJIQ/VK3fdsS50q4KWy+Z5X0A1/GswEItKX0ctAp8n4SYDE7wTu6A== + version "1.0.30001419" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001419.tgz" + integrity sha512-aFO1r+g6R7TW+PNQxKzjITwLOyDhVRLjW0LcwS/HCZGUUKTGNp9+IwLC4xyDSZBygVL/mxaFR3HIV6wEKQuSzw== caseless@~0.12.0: version "0.12.0"