Insert your plug description here.
- In your (development) space, create a folder under
Library/that you can use as a namespace, for instance using your Github username:
mkdir -p ~/myspace/Library/you- Symlink this plug's folder into your namespaced folder:
ln -s $PWD ~/myspace/Library/you/hello- Update the
nameattribute inPLUG.mdto match the location of that PLUG file in your space, and the file name of the destination.plug.jsfile as well e.g.
---
name: Library/you/hello/PLUG
tags: meta/library
files:
- myplug.plug.js
---
To build this plug, make sure you have Deno installed. Then, build the plug with:
deno task buildWithin ~20s SilverBullet will automatically sync your plug code, just watch your browser's JavaScript console to see when this happens. Then run the Plugs: Reload command to reload and reactivate the plug (no reload required).
- Commit the compiled
.plug.jsfile to the repository - Other people can now install your plug via the
Library: Installcommand using the URL to your PLUG.md file as URI, e.g.https://github.com/silverbulletmd/silverbullet-plug-template/blob/main/PLUG.md