* 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>
* chore: use biome to sort imports
* do the sorting
* Update package.json
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* feat: add smartypants flag
* test: smartypants in markdown and mdx
* docs: Smartypants -> SmartyPants
* chore: changeset
* chore: update changeset with 1.0 -> 2.0 in mind
* chore: bump to minor change