A SiYuan plugin for freehand drawing, based on js-draw.
Find a file
MassiveBox c2232c3450
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 1m2s
Add Chinese translation and improve README
2025-08-07 18:30:08 +02:00
.forgejo/workflows Add CI 2025-05-08 22:47:09 +02:00
asset Add Chinese translation and improve README 2025-08-07 18:30:08 +02:00
public Add Chinese translation and improve README 2025-08-07 18:30:08 +02:00
scripts Add CI 2025-05-08 22:47:09 +02:00
src Add Chinese translation and improve README 2025-08-07 18:30:08 +02:00
.gitignore 为checkout添加切换状态时添加回调函数 2024-04-05 16:37:25 +08:00
CHANGELOG.md 📝docs 2024-06-01 16:35:02 +08:00
icon.png Initial Upload 2025-03-31 19:14:17 +02:00
LICENSE Initial commit 2023-05-19 19:40:28 +08:00
package.json Version bump 2025-05-15 18:19:46 +02:00
plugin.json Add Chinese translation and improve README 2025-08-07 18:30:08 +02:00
preview.png Initial Upload 2025-03-31 19:14:17 +02:00
README-zh_CN.md Add Chinese translation and improve README 2025-08-07 18:30:08 +02:00
README.md Add Chinese translation and improve README 2025-08-07 18:30:08 +02:00
svelte.config.js 🔧 config svelte 2024-04-19 19:09:15 +08:00
tsconfig.json Auto-refresh images on edit 2025-04-03 15:51:33 +02:00
tsconfig.node.json init 2023-05-19 19:50:46 +08:00
vite.config.ts 🔧 ci: update vite script, auto remove trivial files under dist/ 2024-10-24 14:51:01 +08:00
vite.config.ts.timestamp-1743541342564-d66840ad6dd8b.mjs Offer to edit images 2025-04-01 23:03:22 +02:00
yaml-plugin.js 🔧 build: yaml-plugin 2024-04-05 22:54:18 +08:00

SiYuan js-draw Plugin

This plugin allows you to embed js-draw whiteboards anywhere in your SiYuan documents.

Usage instructions

Demo

  • Install the plugin from the marketplace. You can find it by searching for js-draw.
  • To add a new whiteboard to your document:
    1. Type /Insert whiteboard in your document, and select the correct menu entry
    2. The whiteboard editor will open in a new tab. Draw as you like, then click the Save button and close the tab.
  • To edit the whiteboard later:
    1. 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
    2. The editor tab will open, edit your file as you like, then click the Save button and close the tab.

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):

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.