How to create your own Obsidian Plugin

Table of Contents

Getting things set up

With Git and GitHub

Without Git and GitHub

Compiling and running the Plugin

  • The main.ts File, which contains the Code of your Plugin
  • The styles.css File, which contains a corresponding Style Sheet
  • And the manifest.json File, which contains important Information, like the Version and Name of your Plugin

The Sample Plugin

Recreating Cycle through Panes

  • Add a Command to go to the next Pane, triggered by Ctrl + Tab
  • Add a Command to go to the previous Pane, triggered by Ctrl + Shift + Tab
The full Plugin

Publishing a Plugin

Filling out the manifest

Pushing to GitHub

Creating a Release on GitHub

Adding the Plugin to the Community Plugins

Editing the File
Adding your Plugin to the File

Young Developer from Germany.

Love podcasts or audiobooks? Learn on the go with our new app.