Skip to content

fix(mermaid): fix mermaid charts.#118

Merged
rubixvi merged 1 commit intomainfrom
development
Apr 8, 2026
Merged

fix(mermaid): fix mermaid charts.#118
rubixvi merged 1 commit intomainfrom
development

Conversation

@rubixvi
Copy link
Copy Markdown
Owner

@rubixvi rubixvi commented Apr 8, 2026

This pull request primarily updates the Mermaid diagram rendering component to improve reliability and diagram normalization, and upgrades several dependencies for improved stability and compatibility. It also standardizes import paths for the Link component and updates related documentation examples.

Mermaid diagram rendering improvements:

  • Refactored the Mermaid component in components/markdown/mermaid.tsx to use memo, simplify rendering logic, and normalize chart input for more consistent diagram rendering. Added error handling and updated Mermaid initialization with startOnLoad: false and securityLevel: 'loose'.
  • Updated documentation in contents/docs/markdown/diagrams/index.mdx to use the new, simplified Mermaid usage pattern and improved chart formatting for clarity and consistency. [1] [2] [3]

Dependency and tooling upgrades:

  • Upgraded mermaid to 11.14.0, next to 16.2.3, react and react-dom to 19.2.5, and several other dependencies and devDependencies for improved stability and compatibility. [1] [2]
  • Updated biome.json schema and @biomejs/biome version for the latest linting and formatting support. [1] [2]

Codebase consistency:

  • Standardized the import path for the Link component to always use @/lib/transition across app/not-found.tsx, app/page.tsx, and components/anchor.tsx. [1] [2] [3]

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rubix-documents Ready Ready Preview, Comment Apr 8, 2026 11:49pm

@rubixvi rubixvi merged commit 5d77575 into main Apr 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant