Skip to content

Fix Mermaid diagram rendering on markdown preview#11

Merged
Alex9583 merged 1 commit intomasterfrom
fix/markdown-preview
Apr 7, 2026
Merged

Fix Mermaid diagram rendering on markdown preview#11
Alex9583 merged 1 commit intomasterfrom
fix/markdown-preview

Conversation

@Alex9583
Copy link
Copy Markdown
Owner

@Alex9583 Alex9583 commented Apr 7, 2026

  • Refactored test structure with @Nested for MermaidZoomJsTest and MermaidRenderJsExportTest.
  • Added extensive test coverage for zoom controls, behaviors, layout modes, and SVG dimensions.
  • Introduced inline and standalone mode segregation with mode-specific utility and event tests.
  • Enhanced toolbar button creation and integration tests with structured assertions.
  • Updated mermaid-zoom.js with clearer function segmentation, constants, and shared utility definitions.

- Refactored test structure with `@Nested` for `MermaidZoomJsTest` and `MermaidRenderJsExportTest`.
- Added extensive test coverage for zoom controls, behaviors, layout modes, and SVG dimensions.
- Introduced inline and standalone mode segregation with mode-specific utility and event tests.
- Enhanced toolbar button creation and integration tests with structured assertions.
- Updated `mermaid-zoom.js` with clearer function segmentation, constants, and shared utility definitions.
@Alex9583 Alex9583 added the patch Bump to a patch version label Apr 7, 2026
@Alex9583 Alex9583 merged commit 536285c into master Apr 7, 2026
2 checks passed
@Alex9583 Alex9583 deleted the fix/markdown-preview branch April 7, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Bump to a patch version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant