-
Notifications
You must be signed in to change notification settings - Fork 160
[Feature Request] Simpler way to install plugins #1287
Description
It would be nice if MarkEdit had a simpler way of installing plugins that didn't involve manually copying JavaScript files into a particular folder.
Currently to install MarkEdit-preview (for example) I would clone the repo, open MarkEdit, open the extensions folder via the menu, copy the cloned files from dist/ into that folder, then restart MarkEdit.
This could be a plugin registry (like Obsidian) which would be the most convenient for users, but I think there are a few ways of doing this that are still very convenient but don't rely on running an external service.
My ideas:
Install via zip files
Similar to Blender plugins, MarkEdit could offer a menu to load a zip file and handle unpacking it into the right location automatically. The user would just have to select the file and restart MarkEdit.
Install via Git repo URL
MarkEdit could take a Git repo URL, clone it, and copy the dist/ folder across automatically. This relies on the repo being in a specific format.
Install via GitHub release artefacts
Instead of cloning the repo, take the URL, find the latest release, and download a packaged zip to the right location. This would work in tandem with an option to manually install from a zip archive.
This could support updating plugins if new releases were made available.
It would probably be useful to have a standard GH action template to build a project into a zip file in the way MarkEdit expects.