0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/mdx/test/fixtures
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
..
css-head-mdx [ci] format 2024-04-17 08:38:53 +00:00
image-remark-imgattr chore: import sorting for test folder and e2e folder (#10190) 2024-02-22 13:58:10 +00:00
invalid-mdx-component/src/pages Do not silence runtime MDX errors (#7089) 2023-06-09 20:21:32 +00:00
mdx-astro-markdown-remarkRehype/src/pages [MDX] Support remark-rehype options from Astro Markdown config (#5427) 2022-11-22 10:12:25 -05:00
mdx-component/src Support rendering <Fragment> in MDX <Content /> component (#5522) 2022-12-05 21:56:43 +01:00
mdx-escape/src
mdx-frontmatter/src Remove support for simple objects in endpoints (#9181) 2023-11-27 12:51:57 -05:00
mdx-frontmatter-injection chore: import sorting for test folder and e2e folder (#10190) 2024-02-22 13:58:10 +00:00
mdx-get-headings/src/pages Remove support for simple objects in endpoints (#9181) 2023-11-27 12:51:57 -05:00
mdx-get-static-paths/src
mdx-images [ci] format 2024-04-17 08:38:53 +00:00
mdx-infinite-loop Update all dependencies (#9138) 2023-11-21 12:09:19 +08:00
mdx-math/src/pages Prevent HTML-escape of raw strings in JSX script/style tags (#6459) 2023-03-09 00:29:22 +08:00
mdx-namespace Fix changeset publish (#6923) 2023-04-27 22:55:48 +08:00
mdx-optimize MDX integration v3 (#10935) 2024-05-08 10:25:27 +01:00
mdx-page Fix changeset publish (#6923) 2023-04-27 22:55:48 +08:00
mdx-plugins/src/pages Add SmartyPants flag (#5769) 2023-01-06 09:26:02 -05:00
mdx-plus-react Prevent React hook call warnings when used with MDX (#8324) 2023-08-31 11:31:01 -04:00
mdx-script-style-raw/src/pages Prevent HTML-escape of raw strings in JSX script/style tags (#6459) 2023-03-09 00:29:22 +08:00
mdx-slots/src Support rendering <Fragment> in MDX <Content /> component (#5522) 2022-12-05 21:56:43 +01:00
mdx-syntax-hightlighting/src/pages Preserve code element node meta for rehype syntax highlighters (#5335) 2022-11-09 08:32:13 -05:00
mdx-url-export/src/pages Remove support for simple objects in endpoints (#9181) 2023-11-27 12:51:57 -05:00
mdx-vite-env-vars Use esbuild for env replacement (#9652) 2024-01-11 12:06:14 +08:00