0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/packages/markdown/remark/test
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
..
autolinking.test.js Improve markdown rendering performance (#8532) 2023-09-14 18:22:16 +08:00
entities.test.js Improve markdown rendering performance (#8532) 2023-09-14 18:22:16 +08:00
plugins.test.js Improve markdown rendering performance (#8532) 2023-09-14 18:22:16 +08:00
remark-collect-images.test.js Allow remark plugins to affect getImage call for .md files (#9566) 2024-01-17 13:13:31 +00:00
shiki.test.js Refactor shikiji syntax highlighting code (#9083) 2023-11-14 23:00:17 +08:00