Obsidian Plugin: Rust Boilerplate

March 15, 2021 ยท View on GitHub

Boilerplate needed to write obsidian plugins in rust!

Installation

  1. Get cargo. I recommend using rustup
  2. Install wasm-pack. cargo install wasm-pack
  3. Build main.js. yarn build

Commands

  • Example: Sums two numbers in rust then sends a notification with the result