All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 1m2s
2.1 KiB
2.1 KiB
SiYuan js-draw Plugin
This plugin allows you to embed js-draw whiteboards anywhere in your SiYuan documents.
Usage instructions
- Install the plugin from the marketplace. You can find it by searching for
js-draw
. - To add a new whiteboard to your document:
- Type
/Insert whiteboard
in your document, and select the correct menu entry - The whiteboard editor will open in a new tab. Draw as you like, then click the Save button and close the tab.
- Type
- To edit the whiteboard later:
- Left-click or tap on the whiteboard to select it, then click on the Edit icon in the top bar or use the keyboard shortcut
Alt+Shift+D
- Or right-click on the whiteboard (or click the three dots on mobile), select "Plugin" > "Edit whiteboard" in the menu
- The editor tab will open, edit your file as you like, then click the Save button and close the tab.
- Left-click or tap on the whiteboard to select it, then click on the Edit icon in the top bar or use the keyboard shortcut
Planned features
Check out the Projects tab!
Contributing
Contributions are always welcome!
The Chinese translation is made by Kimi AI, and I'm unable to verify it because I don't speak Chinese. If you do and find issues, please let me know.
Please open an issue or contact me if you'd like to help!
Thanks to
This project couldn't have been possible without (in no particular order):
- The SiYuan project
- js-draw
- SiYuan plugin sample with vite and svelte
- siyuan-drawio-plugin and siyuan-plugin-whiteboard for inspiration and bits of code
Make sure you check them out and support them as well!
License
The original plugin framework is developed by SiYuan 思源笔记 and licensed under the MIT license.
All changes made by me are copyright MassiveBox 2025, and licensed under the MIT license.