Skip to content

Commit

Permalink
Update young-eyes-film.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
OliverSpeir and sarah11918 authored Jan 29, 2024
1 parent 6671f56 commit 95bc27a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .changeset/young-eyes-film.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,14 @@
"astro": minor
---

Enable users to use `![](img.png)` syntax for images in their collection folder
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:

```diff
- ![A cute dog](./dog.jpg)
+ ![A cute dog](dog.jpg)
<!-- This dog lives in the same folder as my article! -->
```

0 comments on commit 95bc27a

Please sign in to comment.