Rename Plug to icalendar

This commit is contained in:
Marek S. Lukasiewicz
2025-01-05 16:06:57 +01:00
parent 98edb7a818
commit 968353ce80
4 changed files with 12 additions and 13 deletions

View File

@@ -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
<!-- TODO: Describe properties in detail -->
### 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

View File

@@ -1,8 +0,0 @@
name: caldav
requiredPermissions:
- fetch
functions:
queryIcs:
path: ./caldav.ts:queryEvents
events:
- query:cal-events

8
icalendar.plug.yaml Normal file
View File

@@ -0,0 +1,8 @@
name: icalendar
requiredPermissions:
- fetch
functions:
queryEvents:
path: ./icalendar.ts:queryEvents
events:
- query:ical-event