A SiYuan plugin for freehand drawing, based on js-draw.
Find a file
MassiveBox 3a05d36f8c
Some checks failed
Create Release on Tag Push / build (push) Has been cancelled
Fixes + Version bump
2025-04-17 22:27:38 +02:00
.github/workflows 🔧 ci: 更新 vite 打包脚本 2024-10-16 14:43:56 +08:00
asset README 2023-05-19 20:18:04 +08:00
public Prepare for release 2025-04-05 23:23:45 +02:00
scripts 🔧 ci: add a script to update version 2024-09-08 14:05:54 +08:00
src Fixes + Version bump 2025-04-17 22:27:38 +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 Fixes + Version bump 2025-04-17 22:27:38 +02:00
plugin.json Fixes + Version bump 2025-04-17 22:27:38 +02:00
preview.png Initial Upload 2025-03-31 19:14:17 +02:00
README.md Prepare for release 2025-04-05 23:23:45 +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

  • Install the plugin from the marketplace. You can find it by searching for js-draw.
  • To add a new drawing to your document:
    1. Type /Insert Drawing 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 image later:
    1. Right-click on the image (or click the three dots on mobile), select "Plugin" > "Edit with js-draw" 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! Right now, I'm working on the core functionality and fixing bugs.
After that is done, I will need help with the internationalization, as, unfortunately, I don't speak Chinese.
Please 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.