Skip to content

[codex] Use official Markmap renderer#194

Closed
ThisIs-Developer wants to merge 4 commits into
mainfrom
codex/official-markmap-renderer
Closed

[codex] Use official Markmap renderer#194
ThisIs-Developer wants to merge 4 commits into
mainfrom
codex/official-markmap-renderer

Conversation

@ThisIs-Developer

@ThisIs-Developer ThisIs-Developer commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replaced the custom Markmap SVG approximation with the official Markmap browser API: Transformer, feature asset loading, and Markmap.create.
  • Added pinned Markmap runtime assets (d3, markmap-lib, markmap-view) to the lazy loader and desktop offline preparation flow.
  • Updated worker-rendered Markdown shells and shared diagram CSS so markmap fences render through a dedicated Markmap surface with explicit SVG dimensions.
  • Fixed nested code block rendering bug: Normalized Markmap code fences in 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 26, 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:44pm

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploying markdown-viewer with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89b7797
Status: ✅  Deploy successful!
Preview URL: https://f7a7884f.markdown-viewer.pages.dev
Branch Preview URL: https://codex-official-markmap-rende.markdown-viewer.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploying markdownviewer with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89b7797
Status: ✅  Deploy successful!
Preview URL: https://aa885f57.markdownviewer.pages.dev
Branch Preview URL: https://codex-official-markmap-rende.markdownviewer.pages.dev

View logs

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