friebetill_obsidian-file-diff/README.md
2023-02-04 13:01:05 +08:00

2 KiB

Obsidian File Diff

GitHub stars

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.