No description
Find a file
2023-04-30 11:34:49 +02:00
.github Create FUNDING.yml 2023-02-04 12:43:41 +08:00
scripts Add release script 2023-01-26 13:50:43 +08:00
src Apply feedback from liamcain 2023-04-30 11:34:49 +02:00
.editorconfig Initial commit 2023-01-26 13:13:41 +08:00
.eslintignore Follow guide https://bit.ly/3JIZGTE to improve Prettier + ESLint 2023-02-02 22:36:11 +08:00
.eslintrc Add 'Find sync conflicts and merge' command 2023-03-27 00:05:36 +08:00
.gitignore Initial commit 2023-01-26 13:13:41 +08:00
.npmrc Initial commit 2023-01-26 13:13:41 +08:00
.prettierignore Follow guide https://bit.ly/3JIZGTE to improve Prettier + ESLint 2023-02-02 22:36:11 +08:00
.prettierrc.json Add semicolons to prevent difficult to debug bugs 2023-02-22 12:14:02 +08:00
esbuild.config.mjs Move main file to src subfolder 2023-01-26 13:50:32 +08:00
LICENSE Add license 2023-01-26 13:49:53 +08:00
manifest.json Release version 1.0.12 2023-03-27 00:06:02 +08:00
package.json Release version 1.0.12 2023-03-27 00:06:02 +08:00
README.md Add 'Find sync conflicts and merge' command 2023-03-27 00:05:36 +08:00
styles.css Don't overwrite Obsidian CSS in a plugin 2023-02-22 11:56:48 +08:00
tsconfig.json Disable analysis of node_modules folder 2023-02-01 17:58:12 +08:00
version-bump.mjs Initial commit 2023-01-26 13:13:41 +08:00
versions.json Release version 1.0.12 2023-03-27 00:06:02 +08:00
yarn.lock Remove more linter warnings 2023-02-02 23:32:22 +08:00

Obsidian File Diff

GitHub stars

Commands

Compare: Compare your active file with another file and look at the differences.

Compare and merge: Same as Compare, but you have the option to merge changes.

Find sync conflicts and merge: Finds all Syncthing conflicts and shows the merge option for each conflict sequentially.

GIF of a demo show this plugin

Motivation

I created this plugin because I use SyncThing and it bothered me to clean up merge conflicts by hand.

Installation

At the moment, the plugin is in review to be an official plugin (add a like to get it merged faster). Therefore, it must be installed manually:

  1. Download the main.js, styles.css and manifest.json from the latest release
  2. Move the files to the plugin folder VaultFolder/.obsidian/plugins/obsidian-file-diff/

When the plugin is officially release you can follow these steps to install the plugin:

  1. Search for "File Diff" in the community plugins of Obsidian
  2. Install the plugin
  3. Enable the plugin

FAQ

  1. How do I adjust the colors?

    Adjust the colors by following these instructions.

Contributing

If you have any issues or suggestions, please open an issue on the repository. If you would like to contribute code, please fork the repository and submit a pull request.

Support

For support, please open an issue on the repository, with a reproducible example if possible.

If you're interested in supporting me, it would mean a lot if you could buy me a coffee through GitHub Sponsors, located on the right side.