Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid renders as code #68670

Closed
aleksandr-makarov-dev opened this issue Aug 8, 2024 · 1 comment
Closed

Mermaid renders as code #68670

aleksandr-makarov-dev opened this issue Aug 8, 2024 · 1 comment
Labels
bug Issue was opened via the bug report template. locked Markdown (MDX) Related to Markdown with Next.js.

Comments

@aleksandr-makarov-dev
Copy link

Link to the code that reproduces this issue

https://github.com/aleksandrmakarov-dev/my-static-site

To Reproduce

  1. Deploy repository on Vercel
  2. Open page with mermaid diagram (/tasks/event-organizer)

Current vs. Expected behavior

I expect to see mermaid diagram, but instead I see code
image

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
Binaries:
  Node: 20.15.1
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 13.5.6
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 4.9.5
Next.js Config:
  output: N/A

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

Markdown (MDX)

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

Vercel (Deployed)

Additional context

If I open the same page in dev mode or if I build app in local environment and start it I can see mermaid diagram rendered normally, but If I deploy it on vercel I see it rendered as code

@aleksandr-makarov-dev aleksandr-makarov-dev added the bug Issue was opened via the bug report template. label Aug 8, 2024
@github-actions github-actions bot added the Markdown (MDX) Related to Markdown with Next.js. label Aug 8, 2024
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. locked Markdown (MDX) Related to Markdown with Next.js.
Projects
None yet
Development

No branches or pull requests

1 participant