Astro components from Remark plugin are not rendered in .mdx pages #4769
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
pkg: mdx
Issues pertaining to `@astrojs/mdx` integration
What version of
astro
are you using?1.2.4
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
I am trying to use the AstroAsides integration from the docs in my own site.
The integration works flawlessly in normal .md pages, but for .mdx pages, the directives get replaced by the correct code but the Aside component isnt being rendered.
This is the code for the integration
https://github.com/withastro/docs/blob/main/integrations/astro-asides.ts
And the .mdx page returns the following html for the aside
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-qhpm6w
Participation
The text was updated successfully, but these errors were encountered: