Rich Markdown Diff

April 30, 2026 ยท View on GitHub

A professional VS Code extension for visual Markdown comparison. Compare rendered HTML side-by-side or inline, including Math, Mermaid, and complex slide decks.

Split View

Key Features

  • Visual Diff: Compare rendered output instead of raw source code.
  • Git Blame: Hover to see commit history for any line in the diff view.
  • Interactive Image Diff: New "Swipe" and "Onion Skin" modes for visual image comparison.
  • Marp Support: Full visual diffing for Marp slide decks (marp: true).
  • Git Integration: Diff directly from Source Control view (Workspace, Staged, or HEAD).
  • Obsidian Support: Support for #tag and ![[link]] transclusions.
  • Quick Edit: Modify image paths or block metadata directly within the diff view.
  • Clipboard Compare: Compare any Markdown file against your clipboard.

Supported Extensions

ExtensionSupport Details
MarpRender and diff slide decks with full theme support.
MathHigh-quality KaTeX rendering for formulas.
MermaidFlowcharts, sequence diagrams, and Gantt charts.
ObsidianNative support for Tags (#tag) and Transclusions (![[link]]).
AlertsGitHub-style [!NOTE], [!WARNING], etc.
StructureRobust diffing for Tables, Nested Lists, and Footnotes.
MiscWikilinks, Emoji, Sub/Superscript, and Definition Lists.

Use Cases

  • ๐Ÿ–ผ๏ธ Marp Presentations: Verify slide layout and theme changes visually.
  • ๐Ÿ“š Knowledge Bases: Review changes in foam/wiki notes with wikilinks and footnotes.
  • ๐Ÿ“– Technical Docs: Catch rendering issues in Mermaid diagrams and math formulas.
  • ๐Ÿ”ฌ Academic Writing: Track revisions to LaTeX equations and complex tables.
  • ๐Ÿ‘ฅ Peer Review: Focus on the final rendered output rather than raw Markdown syntax.

Usage

1. Compare Files

Select two .md files in the Explorer, right-click, and select Show Markdown Diff.

2. Git & SCM

Click the Show Markdown Diff icon next to any modified Markdown file in the Source Control view.

SCM Diff

3. Clipboard Comparison

Right-click in any Markdown editor and choose Compare with Clipboard.

Technical Details

For technical setup or contribution guidelines, please see:

License

Licensed under the MIT License.