TIL - making an Obsidian plugin (minimal guide)

1. Minimal plugin (main.js): module.exports = class EditSelectionPlugin { onload() { this.addCommand({ id: 'edit-selection', name: 'Edit Selected Text',…