Repository navigation
Match native Obsidian rendering and embed behavior - #15
Merged
Merged
Conversation
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
Bring the rendering polygon closer to native Obsidian while preserving stored Markdown and existing editability rules. This fixes vault-font and property presentation, partial list indentation, inline-link overlap, task tick colors, callout folding/source actions, late code fences, multiline display math, Mermaid colors, embedded-note navigation and compact missing-PDF placeholders.
Preserve bounded inert HTML formatting through the shared sanitizer, resolve same-note heading/block references, remove extra spacing between consecutive image rows, and use the existing trusted player policy for validated YouTube privacy-domain iframes. Other authored frames keep opaque origins. A pre-merge review regression test also protects shorter fence examples inside longer or unclosed code fences.
Related
Existing Markdown/Obsidian compatibility and PDF embed scope (FR-2 / FR-21). Detailed validation and compatibility boundaries are recorded in the two rendering-parity plans included in this PR.
Type of change
Checklist
npm run typecheckpassesnpm run buildsucceedsIMPLEMENTATION_PLAN.mdwith the completed parity workValidation
Screenshots / notes
The rendering fixes preceding the final nested-fence correction were verified on the running server with backups, asset/runtime hashes and unchanged original note hashes. Native fresh/full-polygon PDF
page=3behavior and the complete embedded-note SVG were confirmed; no speculative PDF-page or icon change is included. Remote pages still enforce their own framing restrictions, such asX-Frame-Options: SAMEORIGIN.