#obsidian %% run start ```ts const {LinkPreview} = customJS return LinkPreview.getLinkPreviewFromUrl("https://github.com/kometenstaub/obsidian-version-history-diff") ``` %% <div class="nifty-link-card-container"> <a class="nifty-link-card" href="https://github.com/kometenstaub/obsidian-version-history-diff" target="_blank"> <div class="nifty-link-card-text"> <div class="nifty-link-card-title line-clamp-2">GitHub - kometenstaub/obsidian-version-history-diff: Get a diff view of your Obsidian Sync, File Recovery and Git version history</div> <div class="nifty-link-card-description">Get a diff view of your Obsidian Sync, File Recovery and Git version history - GitHub - kometenstaub/obsidian-version-history-diff: Get a diff view of your Obsidian Sync, File Recovery and Git vers...</div> <div class="nifty-link-href"> <img class="nifty-link-icon" src="https://github.com/fluidicon.png"> https://github.com/kometenstaub/obsidian-version-history-diff </div> </div> <div class="nifty-link-image-container"> <div class="nifty-link-image" style="background-image: url('https://repository-images.githubusercontent.com/468062397/5ea5ae20-124f-4a4f-861d-da230174db0b')"> </div> </div> </a> </div> %% run end %% ## [Features](https://github.com/kometenstaub/obsidian-version-history-diff#features) It can 1. display diffs of the **Sync** 2. and the **File Recovery** 3. and **Git** version history for the currently active file, 1. For this to work, the [Obsidian Git](https://obsidian.md/plugins?id=obsidian-git) plugin needs to be installed. 4. open a selected version in a modal and 5. render it as either markdown or 6. plain text and 7. you can overwrite the file with this version as well. 8. There is a colour-blind mode 9. It also adds a command to open Obsidian's native Sync history view, which is otherwise only accessible via the file menu.