Skip to content

Commit

Permalink
Update warm-planes-swim.md
Browse files Browse the repository at this point in the history
  • Loading branch information
p0lyw0lf authored Feb 25, 2025
1 parent 926ac77 commit a21e0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/warm-planes-swim.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Adds remote image optimization in Markdown

Previously, an internal remark plugin only looked for images in `![]()` syntax that referred to a relative file path. This meant that only local images stored in `src/` were passed through to an internal rehype plugin that would transform them for later processing by Astro's image service.

Now, the plugins recognize and transform both local and remote images using this syntax.
Now, the plugins recognize and transform both local and remote images using this syntax. Only [authorized remote images specified in your config](https://docs.astro.build/en/guides/images/#authorizing-remote-images) are transformed; remote images from other sources will not be processed.

While not configurable at this time, this process outputs two separate metadata fields (`localImagePaths` and `remoteImagePaths`) which allow for the possibility of controlling the behavior of each type of image separately in the future.

0 comments on commit a21e0b5

Please # to comment.