Repository navigation
Releases
Releases · miguelpafume/SnapshotDiff
1.1.0
- The diff now opens at the line you were reading in the note, instead of at the top. You can turn this off in settings.
- Scrolling the diff no longer jumps or flickers, and the two sides stay lined up.
- Rewritten sentences are marked as a whole, instead of showing a few shared words like "the" or "and" as unchanged.
- An added or removed sentence now keeps its own period, and an added word is marked with its leading space, so the highlights line up with what you actually changed.
- Typing in the diff is faster on long notes, especially ones with many changes.
1.0.6
- Ctrl+Z / Ctrl+Y now work in the diff view's editable pane.
- Renaming a note no longer moves other notes' snapshots (a note next to a folder with the same name).
- Snapshots now include edits made in the last couple of seconds.
- Deleting a note and quickly creating another no longer moves the old note's snapshots to the new one.
- Fixed errors when renaming a note or changing a setting while a diff tab hasn't been opened yet since startup.
1.0.5
- Styles no longer use
!important, so themes and CSS snippets can restyle the diff view more easily. - The strikethrough on removed words now uses the text colour instead of red.
1.0.4
First public release of Snapshot Diff.
- Snapshots in one click. Save a note as it is now, optionally with a name. Snapshots are plain Markdown files and follow the note when it's renamed or moved, including renames made outside Obsidian.
- Compare with any earlier version: your snapshots, the versions saved by Obsidian's core File recovery plugin, or the git commits that changed the note (desktop only).
- Side-by-side diff of the whole note, with changes highlighted word by word. A rewritten passage shows as one change, and quotes and brackets around changed words stay unmarked.
- Edit while you compare. The right side is the live note and saves as you type; the arrows between the panes restore a changed block from the earlier version.
To install manually, download main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/snapshot-diff/.