Minor Changes
-
#13254
1e11f5e
Thanks @p0lyw0lf! - Adds remote image optimization in MarkdownPreviously, an internal remark plugin only looked for images in
![]()
syntax that referred to a relative file path. This meant that only local images stored insrc/
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. Only authorized remote images specified in your config 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
andremoteImagePaths
) which allow for the possibility of controlling the behavior of each type of image separately in the future.
Patch Changes
- Updated dependencies [
1e11f5e
]:- @astrojs/internal-helpers@0.6.0