obsidian-plugin
obsidian-plugin copied to clipboard
How to create your own Obsidian plugin
🪨 Obsidian Plugin Creation
How to create your own Obsidian plugin
About Obsidian
- Obsidian is a note taking app based on Markdown files
- It's extensible
About this plugin
- Simple plugin, that counts the number of lines of the active file
- The line count will be visible in the status bar
Resources
- Official Obsidian Plugin Template
- Unofficial Obsidian Plugin Developer Docs
Usage
Requirement
Installation
- Open terminal
cd path/to/your/obsidian/vault/.obsidian/pluginsgit clone https://github.com/flolu/obsidian-pluginnpm installnpm run dev- In Obsidian, press
Ctrl + Pand selectReload app without saving - In Obsidian, go to settings -> Community plugins -> Enable "Example Plugin"
Commands
npm i(Install dependencies)npm run dev(Install dependencies)
Releasing