0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/packages
Oliver Speir 165cfc154b
Allow remark plugins to affect getImage call for .md files (#9566)
* pass hProperties to getImage for optimized imgs

* fix to allow multiple images to have hProps added

* update test to reflect new expected result

* add comment back in

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* add srcset

* works on multiple images

* fix tests, fix images.ts type and remove console logs

* add warning back to images.ts again lol

* update changeset to be user oriented

* Update calm-socks-shake.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* pass alt through getImage

* added fixture and test

* update lockfile

* fix lockfile again (had installed an extra package during testing and had sharp33 installed)

* update test to reflect passing alt through getImage

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:13:31 +00:00
..
astro Allow remark plugins to affect getImage call for .md files (#9566) 2024-01-17 13:13:31 +00:00
astro-prism Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
astro-rss [ci] release (#9625) 2024-01-11 16:32:08 +08:00
create-astro [ci] release (#9625) 2024-01-11 16:32:08 +08:00
integrations Bump shikiji, use transformers API, expose transformers API (#9643) 2024-01-17 13:13:05 +00:00
internal-helpers [ci] release (#8738) 2023-10-05 11:10:06 +01:00
markdown/remark Allow remark plugins to affect getImage call for .md files (#9566) 2024-01-17 13:13:31 +00:00
telemetry Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
underscore-redirects Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
upgrade [ci] format 2024-01-12 07:54:11 +00:00