Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork373
Closed
Description
To Reproduce
Started with the default config however unable to figure out any solution for this error, also checked the past issues however seems like this is new to only me. This error came from default starter example itself, It is coming when a codeblock is added, example: It works fine when removed
```js
console.log('Hello World');
```
Error: index.mdx:Error: Could not parse `style` attribute on `span`./content/docs/index.mdx?collection=docs&hash=1742148670320Error: index.mdx:Error: Could not parse `style` attribute on `span`
Current vs. Expected behavior
Should have build successfully
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030 Available memory (MB): 18432 Available CPU cores: 12Binaries: Node: 18.18.0 npm: 10.2.0 Yarn: 1.22.21 pnpm: 9.9.0Relevant Packages: next: 15.2.2 // Latest available version is detected (15.2.2). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.5.4Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Content Sources (e.g. Fumadocs MDX, Content Collections)
Additional context
No response