docs: tweaks to Plugs page and description

This commit is contained in:
Zef Hemel
2026-08-03 12:42:34 +02:00
parent 45dd29e3b5
commit 59d9330efb
2 changed files with 4 additions and 9 deletions
+3 -9
View File
@@ -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]].
+1
View File
@@ -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.