Open bitbonsai opened 4 years ago
name of plugin | string [unique] |
---|---|
description of plugin | string |
prompt | string (opens a system dialog with configuration prompts, like tokens or username:passwords) |
command | string (can be a system command, to allow git workflows) |
log | boolean (opens a dialog to show progress during publication) |
afterComplete | string [url] (opens page with the published content) |
This is a good idea, and I support it.
What
A plugin architecture that allows developers to extends Typora publishing capability. Some possible examples:
Why
Publish to... is a feature that takes typora to the next level, insteaf of being an editor could be a platform to edit content on the web with direct integration.
But to think about all possible integrations or keep adding them might add clutter to the app, taking out the KISS approach, or take out the @typora's team focus on what's more pressing.
Creating a publish plugin architecture makes possible to:
How
Similarly on how Typora handles plugins right now.
A
plugin
folder, that has all publish plugins available.The 2 or 3 default ones serve as boilerplates, documentation is on how the default ones were created, and the community provides support to itself.
One page on typora.io where authors can submit plugins, linked to a public git repo. Stars, comments, issues, can be dealt with by each plugin author on GitHub or equivalents.
Private plugins can be created and used, with no need to register on typora.io
What does success looks like?