0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00
astro/packages/integrations/mdx/test
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
..
fixtures MDX integration v3 (#10935) 2024-05-08 10:25:27 +01:00
units MDX integration v3 (#10935) 2024-05-08 10:25:27 +01:00
css-head-mdx.test.js Improve content collection styles and scripts build perf (#10959) 2024-05-08 10:24:47 +01:00
invalid-mdx-component.test.js
mdx-astro-markdown-remarkRehype.test.js
mdx-component.test.js
mdx-escape.test.js
mdx-frontmatter-injection.test.js
mdx-frontmatter.test.js
mdx-get-headings.test.js
mdx-get-static-paths.test.js
mdx-images.test.js fix: MDX cannot find relative image path without leading ./ (#10754) 2024-04-16 22:13:52 +08:00
mdx-infinite-loop.test.js
mdx-math.test.js
mdx-namespace.test.js
mdx-optimize.test.js
mdx-page.test.js
mdx-plugins.test.js MDX integration v3 (#10935) 2024-05-08 10:25:27 +01:00
mdx-plus-react.test.js
mdx-script-style-raw.test.js
mdx-slots.test.js
mdx-syntax-highlighting.test.js
mdx-url-export.test.js
mdx-vite-env-vars.test.js [ci] update lockfile (#10234) 2024-03-13 13:52:42 +08:00
remark-imgattr.test.js