Skip to content

fix: render mermaid in markdown editor preview#821

Merged
GCWing merged 1 commit into
GCWing:mainfrom
wgqqqqq:fix/markdown-editor-mermaid-preview
May 21, 2026
Merged

fix: render mermaid in markdown editor preview#821
GCWing merged 1 commit into
GCWing:mainfrom
wgqqqqq:fix/markdown-editor-mermaid-preview

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented May 21, 2026

Summary

  • switch MarkdownEditor preview mode to the shared MarkdownRenderer path so fenced Mermaid blocks render correctly
  • add a regression test covering preview mode

Verification

  • pnpm run lint:web
  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run src/tools/editor/components/MarkdownEditor.test.tsx

@GCWing GCWing merged commit 0d0cb9b into GCWing:main May 21, 2026
4 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.

2 participants