Show Diff

by Ivan Lednev
5
4
3
2
1
Score: 40/100

Description

Category: Note Enhancements

The Show Diff plugin is a game-changer for Obsidian users who want to keep track of their progress and revisions. This plugin allows you to render Git diff output in your notes, making it easy to see what changes you've made on a given day. With the ability to specify dates, commits, paths, and exclusions, you can customize the plugin to suit your needs. The plugin also provides a command to quickly insert a code block with today's changes, making it easy to add to your notes. Whether you're using Obsidian for personal or professional projects, this plugin is a valuable tool for keeping track of your progress and staying organized.

Reviews

No reviews yet.

Stats

24
stars
4,156
downloads
2
forks
1,101
days
1,111
days
1,111
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
4
total issues
3
open issues
1
closed issues
0
commits

Latest Version

3 years ago

Changelog

README file from

Github

🐞 Create issues, feature requests, share your ideas

Purpose

This plugin lets you render Git diff output in your notes that looks like this:

I personally use it in a combo with obsidian-git to revise what I've been working on a given day, like an automatic changelog, but you can point it to any repo in your file system.

Usage

For the plugin to work on your vault, it should be a git repository. You can add automatic git backups to your vault with obsidian-git.

The plugin renders Markdown code blocks with the show-diff language tag. An empty code block will show a diff between today and yesterday:

dates

With dates you can specify a date range to show changes for:

commits

With commits you can specify a commit range to show changes for:

path

This defaults to the vault you're in, but you can point the plugin to any repository in your file system:

exclude

.obsidian (Obsidian's settings & cache) is excluded by default. You can override this with a single path:

or with a list of paths:

Command: Generate diff code block for today

The plugin provides a command to quickly insert in a note a code block like this:

Contributing

If you noticed a bug or thought of some way to improve the plugin, feel free to create an issue: https://github.com/ivan-lednev/obsidian-automatic-changelog/issues.

Pull-requests are also welcome! If you want to contribute but don't know where to start, you can create an issue or write me an email: [email protected].

You can also support me by buying me a coffee:

Acknowledgements

I've used the following plugins as a reference:

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.