diff --git a/docs/Plugs.md b/docs/Plugs.md index 9e781c84..78072c5a 100644 --- a/docs/Plugs.md +++ b/docs/Plugs.md @@ -2,6 +2,7 @@ references: - client/plugos/* - plugs/builtin_plugs.ts +lastReviewed: 2026-08-03 --- SilverBullet at its core is bare bones in terms of functionality, most of its power it gains from **plugs** and [[Space Lua]]. @@ -15,17 +16,10 @@ Plugs can hook into SB in various ways: Each plug runs in its own _sandboxed environment_ and communicates with SB via _syscalls_ that expose a vast range of functionality. Plugs can be loaded, unloaded, and updated without having to restart SilverBullet itself. -Plugs are distributed as self-contained JavaScript bundles (ending with `.plug.js`). SilverBullet will load all core plugs bundled with SB itself (listed below), as well as any additional plugs stored in the `_plug` folder in your [[Space|space]]. +These days, plugs are distributed as assets attached to [[Library|libraries]], ending in a file name with `.plug.js`. # Available plugs -The [SilverBullet ‘Plugs’ category has a list of third-party plugs you can try](https://community.silverbullet.md/c/plugs/14). - -* [SilverSearch](https://github.com/MrMugame/silversearch): implements a better full text search -* [TreeView](https://github.com/joekrill/silverbullet-treeview): adds a tree-view to your UI -* [PDF](https://github.com/MrMugame/silverbullet-pdf): enables viewing and annotation of PDF documents with PDF.js -* [PlantUML](https://github.com/LogeshG5/silverbullet-plantuml): adds plantuml diagram rendering -* [Draw.io](https://github.com/LogeshG5/silverbullet-drawio): adds drawio diagram rendering and editing -* [Excalidraw](https://github.com/LogeshG5/silverbullet-excalidraw): adds excalidraw diagram rendering and editing +You can discover libraries and plugs via the [SilverBullet ‘Plugs and Libraries’](https://community.silverbullet.md/c/plugs/14) or through [[Configuration Manager#Libraries]]. # Development Want to develop your own plugs? Have a look at [[Plugs/Development]]. diff --git a/docs/Plugs/Development.md b/docs/Plugs/Development.md index 29b00dc5..032e0200 100644 --- a/docs/Plugs/Development.md +++ b/docs/Plugs/Development.md @@ -3,6 +3,7 @@ references: - client/plugos/plug_compile.ts - plug-api/types/manifest.ts - bin/plug-compile.ts +lastReviewed: 2026-08-03 --- A **plug** is a self-contained JavaScript bundle (`*.plug.js`) that extends SilverBullet. It runs inside a sandboxed [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers), talks to the editor via [[API|syscalls]], and hooks into SilverBullet through commands, events, slash commands, message queues, and more.