We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aabda21 commit d9446c1Copy full SHA for d9446c1
src/components/docImage.tsx
@@ -33,7 +33,7 @@ export default function DocImage({
33
// parse the size from the URL hash (set by remark-image-size.js)
34
const srcURL = new URL(src, 'https://example.com');
35
const imgPath = srcURL.pathname;
36
-
+
37
// Debug: log the final URL (remove this after testing)
38
console.log('DocImage - Final src:', src, 'imgPath:', imgPath);
39
const [width, height] = srcURL.hash // #wxh
0 commit comments