0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/packages
Bjorn Lu ddd8e49d1a
MDX integration v3 (#10935)
* fix(mdx): convert remark-images-to-component plugin to a rehype plugin (#10697)

* Remove fs read for MDX transform (#10866)

* Tag MDX component for faster checks when rendering (#10864)

* Use unified plugin only for MDX transform (#10869)

* Only traverse children and handle mdxJsxTextElement when optimizing (#10885)

* Rename to `optimize.ignoreComponentNames` in MDX (#10884)

* Allow remark/rehype plugins added after mdx to work (#10877)

* Improve MDX optimize with sibling nodes (#10887)

* Improve types in rehype-optimize-static.ts

* Rename `ignoreComponentNames` to `ignoreElementNames`

I think this better reflects what it's actually doing

* Simplify plain MDX nodes in optimize option (#10934)

* Format code

* Minimize diff changes

* Update .changeset/slimy-cobras-end.md

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

---------

Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-08 10:25:27 +01:00
..
astro MDX integration v3 (#10935) 2024-05-08 10:25:27 +01:00
astro-prism [ci] release (#10739) 2024-04-11 13:24:47 +02:00
astro-rss chore(deps): update all non-major dependencies (#10833) 2024-04-22 22:52:30 +08:00
create-astro Fix typos (#10923) 2024-05-01 13:56:38 +08:00
db [ci] release (#10943) 2024-05-03 17:55:43 +02:00
integrations MDX integration v3 (#10935) 2024-05-08 10:25:27 +01:00
internal-helpers [ci] release (#10597) 2024-03-28 14:09:23 -04:00
markdown/remark Fix typos (#10923) 2024-05-01 13:56:38 +08:00
telemetry chore(deps): update all non-major dependencies (#10833) 2024-04-22 22:52:30 +08:00
underscore-redirects chore: import sort source code, exception for the astro package (#10242) 2024-02-27 11:15:27 +00:00
upgrade Fix typos (#10923) 2024-05-01 13:56:38 +08:00