feat: enhance Semantic Mermaid Diff with pane separation and fix KaTeX block diff styling - #78
Merged
Conversation
…X block diff styling
phine-apps
added a commit
that referenced
this pull request
Aug 30, 2026
…and-katex-styling feat: enhance Semantic Mermaid Diff with pane separation and fix KaTeX block diff styling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v1: deleted red / modified amber) and Right Pane (v2: added green / modified amber), aligning diagram diff behavior with all other text, table, and image diffs in Rich Markdown Diff.#132a1c,#2e2305,#2c1214), vivid border strokes (#22c55e,#f59e0b,#ef4444), and high-contrast text (#4ade80,#fbbf24,#f87171)..katex-blockfrom the transparent reset CSS block and added dedicated:has(> .katex-block)diff container styling to preserve green insertion background (var(--diff-inserted-bg)) and borders without double margins/padding.fixtures/comprehensive_{v1,v2}.md, unit tests, snapshot files, and Playwright VRT baselines.Verification
pnpm run test:unit): 233 passing