No description
Find a file
2023-02-04 13:00:40 +08: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 Handle empty lines at the end 2023-02-04 12:37:33 +08: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 Show a delete modal when all merge conflicts are solved 2023-02-03 12:49:55 +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 Follow guide https://bit.ly/3JIZGTE to improve Prettier + ESLint 2023-02-02 22:36:11 +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 Adjust metadata 2023-01-26 13:49:35 +08:00
package.json Remove more linter warnings 2023-02-02 23:32:22 +08:00
README.md Update demo gif 2023-02-04 13:00:40 +08:00
styles.css Remove autofocus shadow 2023-02-03 16:12:45 +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 Initial commit 2023-01-26 13:13:41 +08:00
yarn.lock Remove more linter warnings 2023-02-02 23:32:22 +08:00

Obsidian File Diff

GitHub stars

⚠️ This plugin is in development and not working at the moment. ⚠️

Purpose

This plugin adds a file difference command to Obsidian, allowing users to compare and merge changes between different versions of a file.

Compatibility

Compatible with all platforms (Windows, Linux, macOS, Android and iOS). TODO: Test on Android and iOS. Tested with Obsidian v0.15.0 or higher.

Installation

At the moment, the plugin is not yet available as an official plugin. Therefore, it must be installed manually:

  1. Download the repository as a zip file
  2. Unzip the file
  3. Install node modules with yarn install
  4. Build the plugin with yarn build
  5. Copy main.js, styles.css and manifest.json in your plugin folder VaultFolder/.obsidian/plugins/obsidian-file-diff/

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

  1. Open Obsidian
  2. Click on the "Settings" icon in the bottom left corner
  3. Click on "Community plugins"
  4. Click on "Browse"
  5. Search for "File Diff"
  6. Click on "Install"
  7. Click on "Enable"

Usage

To use the plugin, follow these steps:

  1. Open a file in Obsidian
  2. Open the command palette (Ctrl/Cmd + P)
  3. Search for "File Diff"
  4. Select the file you want to compare with the current file

Demo

GIF of a demo show this plugin

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.