forked from GitHubMirrors/silverbullet-icalendar
35 lines
907 B
Markdown
35 lines
907 B
Markdown
|
|
# SilverBullet plug template
|
|
|
|
Insert your plug description here
|
|
|
|
## Build
|
|
To build this plug, make sure you have [SilverBullet installed with Deno](https://silverbullet.md/Install/Deno). Then, build the plug with:
|
|
|
|
```shell
|
|
deno task build
|
|
```
|
|
|
|
Or to watch for changes and rebuild automatically
|
|
|
|
```shell
|
|
deno task watch
|
|
```
|
|
|
|
Then, copy the resulting `.plug.js` file into your space's `_plug` folder. Or build and copy in one command:
|
|
|
|
```shell
|
|
deno task build && cp *.plug.js /my/space/_plug/
|
|
```
|
|
|
|
SilverBullet will automatically sync and load the new version of the plug, just watch the logs (browser and server) to see when this happens.
|
|
|
|
## Installation
|
|
If you would like to install this plug straight from Github, make sure you have the `.js` file committed to the repo and simply add
|
|
|
|
```
|
|
- github:user/plugname/plugname.plug.js
|
|
```
|
|
|
|
to your `PLUGS` file, run `Plugs: Update` command and off you go!
|