Skip to content

Repository files navigation

MarkdownCompare

Compare two open Obsidian notes (split view) and highlight line-level differences.

markdowncompare-preview.webp

Usage

  1. Open exactly 2 markdown panes (vertical or horizontal split).
  2. Run the command Compare two files.
  3. To remove highlighting, run Clear compare highlights.
  4. To keep highlights updated while you edit, run Toggle live compare.
  5. (Desktop) You can also toggle live compare from the status bar (scale icon).
  6. (Desktop) The right sidebar panel lists differences and lets you jump between them.

Notes:

  • Both panes must be in Source mode or Live Preview (Reading view can’t be decorated).
  • It highlights changed/added/removed lines and also the exact changed characters for modified lines.

Manual install

Copy main.js, manifest.json, and styles.css into:

<Vault>/.obsidian/plugins/markdown-compare/

Then turn this plugin on in the Community Plugins list.

About

Compare two Obisidian notes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages