Merge pull request #162 from list-jonas/main

Fixed broken images in documentation
This commit is contained in:
mr. m 2025-04-16 18:00:39 +02:00 committed by GitHub
commit 2f4f30a05a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 951 KiB

After

Width:  |  Height:  |  Size: 719 KiB

Before After
Before After

View file

@ -29,10 +29,8 @@ export default async function Page(props: {
components={{
...defaultMdxComponents,
a: createRelativeLink(source, page),
img: (props: React.ImgHTMLAttributes<HTMLImageElement>) => {
const { src, ...rest } = props;
if (typeof src !== "string") return null;
return <ImageZoom src={src} {...rest} />;
img: (props) => {
return <ImageZoom {...props} />;
},
pre: (props) => (
<CodeBlock {...props}>