I've see a couple of messages regarding that topic and wonder if as of June 2023 there is a proper way to reference images from the frontmatter of a .md or .mdx file.
I've seen this:
Relative images can now be referenced in Markdown, MDX, and Markdoc files. These will automatically be optimized and hashed by Astro’s build process.
on https://docs.astro.build/en/guides/assets/ without any context to it, so I would guess this is not only tied to the experimental assets folder nor to the body of markdown files, but both seem to be the case.
Is there anything I'm overseeing? I'm currently replacing these paths by myself by importing them via import.meta.glob but this doesn't feel right even tho it works. Overall this seems like a p pretty basic functionality to ask for isn't it? 😕 🤔