lambda-packages
lambda-packages copied to clipboard
Astro components from Remark plugin are not rendered in .mdx pages
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
- [ ] I am willing to submit a pull request for this issue.