diff --git a/README.md b/README.md index d86b236..79bdb0d 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ It reads external [iCalendar](https://en.wikipedia.org/wiki/ICalendar) data, als ## Installation -Open your `PLUGS` note in SilverBullet and add this plug to the list: +Run the {[Plugs: Add]} command in SilverBullet and add paste this URI into the dialog box: -```yaml -- ghr:Maarrk/silverbullet-icalendar +``` +ghr:Maarrk/silverbullet-icalendar ``` Then run the {[Plugs: Update]} command and off you go! @@ -30,8 +30,6 @@ icalendar: The plug provides the query source `ical-event`, which corresponds to `VEVENT` object - - ### Examples Select events that start on a given date @@ -60,6 +58,7 @@ select summary, description - More query sources: - `ical-todo` for `VTODO` components - `ical-calendar` showing information about configured calendars +- Describe the properties of query results - Support `file://` URL scheme (use an external script or filesystem instead of authentication on CalDAV) ## Contributing diff --git a/caldav.plug.yaml b/caldav.plug.yaml deleted file mode 100644 index 1709f98..0000000 --- a/caldav.plug.yaml +++ /dev/null @@ -1,8 +0,0 @@ -name: caldav -requiredPermissions: - - fetch -functions: - queryIcs: - path: ./caldav.ts:queryEvents - events: - - query:cal-events diff --git a/icalendar.plug.yaml b/icalendar.plug.yaml new file mode 100644 index 0000000..670f0b1 --- /dev/null +++ b/icalendar.plug.yaml @@ -0,0 +1,8 @@ +name: icalendar +requiredPermissions: + - fetch +functions: + queryEvents: + path: ./icalendar.ts:queryEvents + events: + - query:ical-event diff --git a/caldav.ts b/icalendar.ts similarity index 100% rename from caldav.ts rename to icalendar.ts