Astro Info
Astro v6.0.0-beta.17
Vite v7.3.1
Node v24.10.0
System macOS (arm64)
Package Manager npm
Output static
Adapter @astrojs/cloudflare (v13.0.0-beta.11)
Integrations @astrojs/mdx (v5.0.0-beta.9)
@astrojs/sitemap (v3.7.0)
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When rendering a .astro component in an MDX file which is a part of a content collection, <style> tags do not look.
WORKAROUND if I manually add my custom component to the rendered (E.G. <Content components={{ StyledCard }} in my reproduction things start working. The branch linked in the reproduction does not have this so it is faithfully reproducing the error.
What's the expected result?
.astro components containing <style is:global... rendered in .mdx files should work.
Link to Minimal Reproducible Example
https://github.com/alexmherrmann/astro6cloudflare13-bug/tree/mdx-still-not-working
Participation
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When rendering a
.astrocomponent in an MDX file which is a part of a content collection,<style>tags do not look.WORKAROUND if I manually add my custom component to the rendered (E.G.
<Content components={{ StyledCard }}in my reproduction things start working. The branch linked in the reproduction does not have this so it is faithfully reproducing the error.What's the expected result?
.astrocomponents containing<style is:global...rendered in.mdxfiles should work.Link to Minimal Reproducible Example
https://github.com/alexmherrmann/astro6cloudflare13-bug/tree/mdx-still-not-working
Participation