First I tried in mdx
import { Image } from 'astro:assets';
## Abc
<Image width="2878" height="1610" src="https://github.com/user-attachments/assets/62464ccc-a34f-4bef-a819-37d4ff1a0931" loading="lazy"
alt='kekw' />
when I try to use md syntax for image ( check 2nd image )
[alt](link)
Astro config
image: {
domains: ['github.com'],
remotePatterns: [
{ hostname: '**.github.com' },
{ hostname: '**.githubusercontent.com' },
],
},
All I want is optimizing remote images. whats the best approach to this?


