[codex] Use official Markmap renderer#194
Draft
ThisIs-Developer wants to merge 3 commits into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying markdown-viewer with
|
| Latest commit: |
ee50f65
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://148f8dc7.markdown-viewer.pages.dev |
| Branch Preview URL: | https://codex-official-markmap-rende.markdown-viewer.pages.dev |
Deploying markdownviewer with
|
| Latest commit: |
ee50f65
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://70088a4d.markdownviewer.pages.dev |
| Branch Preview URL: | https://codex-official-markmap-rende.markdownviewer.pages.dev |
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
Transformer, feature asset loading,deriveOptions, andMarkmap.create.d3,markmap-lib,markmap-view) to the lazy loader and desktop offline preparation flow.markmapfences render through a dedicated Markmap surface with explicit SVG dimensions.Why
The old Markmap path generated a simplified static SVG and did not honor official Markmap parsing, frontmatter JSON options, rich HTML labels, KaTeX, folding metadata, or the interactive renderer behavior.
Validation
node --check script.jsnode --check preview-worker.jsnode --check desktop-app/prepare.jsnode --check desktop-app/resources/js/script.jsnode --check desktop-app/resources/js/preview-worker.jsnode desktop-app/prepare.jshttp://127.0.0.1:4173/index.htmlusing the provided Markmap sample loaded through the app share URL. Verified a ready.markmap-container, rendered SVG, Markmap paths/circles/foreignObjects, links, and KaTeX asset loading.