Comments (1)
By default it might be best to keep this sample plugin bare-bones.
However, I agree with you. The developer docs don't go into a lot of detail and developing a plugin for Obsidian involves a lot of digging through type declarations and the source code of community plugins.
A good turnkey solution could be to link to community plugins in this repos documentation that the team thinks follow best practices and demo commonly used features.
Unfortunately, I can't think of any community plugins I've dug through that touch on any of the suggestions you list here 😅
Maybe we could create a PR with a new markdown file linked to from the README in something like community-examples.md
with a list of features and the plugins that touch on them.
If you've created a plugin in the months since posting this, we could include it and a link for your suggestions on how to work with leaves, searching, and scoping.
Another example, for my first plugin I referred to https://github.com/tth05/obsidian-completr/tree/master to learn how to use a suggestion popup
from obsidian-sample-plugin.
Related Issues (20)
- `version-bump.mjs` could use async file ops for speed up
- Failed to run `npm run dev` HOT 1
- Can't build plugin with npm run dev HOT 3
- npm install not working? HOT 1
- src folder HOT 2
- Add additional Functionality to the Plugin HOT 2
- [BUG] TypeScript Compile fails in Sample Plugin with TypeScript `5.1.6` HOT 1
- use this template HOT 4
- [BUG] Failed to compile on Linux Pop!_OS 22.04 LTS HOT 2
- esbuild.config.mjs sourcecode HOT 1
- Minify production build
- My mistake
- Config Dir sync no longer working (Reported .DS_Store issue) HOT 1
- Organise typescript sources into separate src hierarchy
- adding a toggle button HOT 1
- Display download successful, but not in the local file library HOT 1
- Custom View Explorer
- [feature request] multiple cursor positions (each linked to a different tab) for same file HOT 2
- obsidian fails to load sample plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-sample-plugin.