Skip to content

fix(markmap): normalize fences before splitting blocks in preview worker#197

Closed
ThisIs-Developer wants to merge 1 commit into
mainfrom
codex/fix-markmap-worker-rendering
Closed

fix(markmap): normalize fences before splitting blocks in preview worker#197
ThisIs-Developer wants to merge 1 commit into
mainfrom
codex/fix-markmap-worker-rendering

Conversation

@ThisIs-Developer

Copy link
Copy Markdown
Owner

Summary

  • Fixed nested code block rendering bug in Markmap: Normalized Markmap code fences in preview-worker.js and desktop-app/resources/js/preview-worker.js before splitting the document into blocks in the worker rendering path.
  • This prevents the block splitter from incorrectly truncating the diagram block when encountering nested code block fences.

Validation

  • Verified that the complete Markmap diagram renders correctly in the browser with nested code block nodes as children of language headings.

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
markdown-viwer Ready Ready Preview, Comment Jun 29, 2026 3:51pm

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying markdown-viewer with  Cloudflare Pages  Cloudflare Pages

Latest commit: e5757dd
Status: ✅  Deploy successful!
Preview URL: https://084bc64c.markdown-viewer.pages.dev
Branch Preview URL: https://codex-fix-markmap-worker-ren.markdown-viewer.pages.dev

View logs

@ThisIs-Developer ThisIs-Developer deleted the codex/fix-markmap-worker-rendering branch June 29, 2026 15:53
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