How to start contributing:
- Fork the repository
- Clone your forked repository to your local machine
- You'll need to run
npm install
to acquire all the dependencies. You have two options:- installed Node.js on your machine
- use the DevContainer provided in the repository, but this assumes you have Docker installed on your machine
- Make your changes. Most likely to
main.js
,Plugin.ts
,PluginSettingsTab.ts
, andstyles.css
- Run
npm run build
to compile your changes - Copy the
main.js
andstyles.css
files from the root of the project, to the Plugin folder.
How do I find the plugin folder?
- Easiest thing to do, is to install the official plugin from the within the Obsidian app.
- Then go to the Settings, and go to the Community Plugins section. From there, you can click on the Folder button to open the plugin folder.
- Drill down into the Background plugin directory, and replace the
main.js
andstyles.css
files with your updated files.