fuma-nama / fumadocs

The beautiful docs framework with Next.js. Alternative to Nextra
https://fumadocs.vercel.app
MIT License
1.86k stars 113 forks source link

MDX Docs are not working for mathematical things. #877

Closed Gitstar-OC closed 2 months ago

Gitstar-OC commented 2 months ago

To Reproduce

None

Current vs. Expected behavior

I have written this code in MDX Screenshot 2024-09-19 173044

which is working fine when seeing preview in vs code, but when I run it in developer mode it is showing me this error

Screenshot 2024-09-19 173037

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Home Single Language
  Available memory (MB): 5990
  Available CPU cores: 12
Binaries:
  Node: 20.17.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.12 // Latest available version is detected (14.2.12).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.5.4
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

UI

Additional context

Is there any other way to write the same thing, I have tried to use various syntax and extensions in code block but they are not working.

fuma-nama commented 2 months ago

Please provide reproduction. Following the math integration guide of Fumadocs works perfectly on CodeSandbox.