obsidian-community / obsidian-hub

Resource hub for Obsidian resources.
https://publish.obsidian.md/hub
704 stars 149 forks source link

Medium-Term Suggestion: Plugins pre-installed in the Community Vault? #52

Open chrisgrieser opened 2 years ago

chrisgrieser commented 2 years ago

As I have written in the overhauled CONTRIBUTING.md, I think there are some reasonable settings that contributors should have while contributing, e.g. having spellcheck turned on.

I was thinking: Would it maybe make sense to have a small set of plugin be considered "default plugins" for the community hub, which should always be active when someone is contributing? The following candidates come to my mind

Feel free to also suggest plugins that would make sense

SkepticMystic commented 2 years ago

I think this makes sense. At some point we shouldn't have too many plugins installed, and probably not plugins that don't preview on the Publish site. But plugins that help in the contribution process make sense.

argenos commented 2 years ago

Zoottelkeeper and Dangling links are two that we currently use.

I've also thought about the best way to distribute these, since the current approach .obsidian/app.json causes a lot of issues when pushed. My suggestion would be either another repo if we care about version history of the settings (which I don't think we do) or a zip file of the vault in the releases that includes the .obsidian folder (so plugins and settings) for contributors. I'm inclined to go for the latter.

I disliked the Linter plugin in the past as too opinionated. Does it still add stuff to the frontmatter?

chrisgrieser commented 2 years ago

I disliked the Linter plugin in the past as too opinionated. Does it still add stuff to the frontmatter? There are actually two or three plugins that do some sort of linting, I am referring to this one: https://github.com/platers/obsidian-linter

It also includes rules to add stuff to the frontmatter but they can simply be disabled to only use the rules we want/need.

Linter has the advantage not requiring any CLI like prettier, and all configurations being stored in the plugin settings.