31 lines
908 B
Markdown
31 lines
908 B
Markdown
---
|
|
name: Library/LogeshG5/silverbullet-excalidraw
|
|
tags: meta/library
|
|
files:
|
|
- excalidraw.plug.js
|
|
share.uri: "https://github.com/LogeshG5/silverbullet-excalidraw/blob/main/PLUG.md"
|
|
share.hash: 199c6406
|
|
share.mode: pull
|
|
---
|
|
# SilverBullet plug for Excalidraw diagrams
|
|
|
|
This plug adds [Excalidraw](https://excalidraw.com/) support to Silverbullet.
|
|
|
|
### Create New Diagram
|
|
|
|
Run `Excalidraw: Create diagram` command and type in the name of the diagram. (or) Use `/excalidraw` slash command.
|
|
|
|
A code widget will be inserted. Move away from the code widget and you will see the diagram.
|
|
|
|
If you wish to create SVG/PNG files, Run `Excalidraw: Create SVG/PNG diagram`.
|
|
|
|
### Use Document Picker
|
|
|
|
Run `Navigate: Document Picker` and select .excalidraw files to open the editor.
|
|
|
|
### Edit SVG/PNG Diagram
|
|
|
|
Run `Excalidraw: Edit diagram`.
|
|
|
|
If multiple diagrams are present in a page, you will be prompted to choose one.
|