mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
d4b886141b
* adds the ./ prefix to the import statement for user * remove accidental new line added * add tests * add changeset * Update young-eyes-film.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
581 B
581 B
astro |
---|
minor |
Fixes an issue where images in Markdown required a relative specifier (e.g. ./
)
Now, you can use the standard ![](img.png)
syntax in Markdown files for images colocated in the same folder: no relative specifier required!
There is no need to update your project; your existing images will still continue to work. However, you may wish to remove any relative specifiers from these Markdown images as they are no longer necessary:
- ![A cute dog](./dog.jpg)
+ ![A cute dog](dog.jpg)
<!-- This dog lives in the same folder as my article! -->