Skip to content

Commit 04293aa

Browse files
committed
update docs
1 parent b3ea44b commit 04293aa

4 files changed

Lines changed: 17 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ This plugin serves as the third plugin in the **Embed Series**, aiming to provid
2424

2525
## Features
2626

27+
- [x] Offline usage (no internet required)
2728
- [x] Save draw.io image as SVG format
2829
- [x] Edit draw.io image
30+
- [x] Support export to PDF
2931
- [x] Support for mobile devices
3032
- [x] Support dark mode
3133

@@ -44,10 +46,13 @@ Type `/drawio` in the editor to create a new draw.io image.
4446
Click the menu button in the top-right corner of the image. If the block is recognized as a valid draw.io image, an `Edit draw.io` option will appear. Click it to open the editor.
4547

4648
**Migrating from other sources:**
47-
Simply export your diagram as an SVG from any draw.io platform with the "Include a copy of my diagram" option enabled, then drag the resulting SVG file into SiYuan.
49+
+ Method 1: Simply export your diagram as an SVG from any draw.io platform with the "Include a copy of my diagram" option enabled, then drag the resulting SVG file into SiYuan.
50+
+ Method 2: Copy all content from any draw.io platform, type `/drawio` in the editor, and paste the copied content into the pop-up draw.io window.
4851

4952
## Changelog
5053

54+
- v0.1.4
55+
+ update docs
5156
+ v0.1.3
5257
+ Optimize: theme on mobile devices
5358
+ Fix: avoid CSS5 ligh-dark style rendering fail in some browsers

README_zh_CN.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828

2929
## 功能
3030

31+
- [x] 无网络离线使用
3132
- [x] draw.io图像以SVG格式存储
3233
- [x] draw.io图像可编辑
33-
- [x] 支持移动端
34+
- [x] 支持导出PDF
35+
- [x] 支持移动端编辑
3436
- [x] 图像支持暗黑模式
3537

3638
> 如有更多需求/建议欢迎[在GitHub仓库中提issue](https://github.com/YuxinZhaozyx/siyuan-embed-drawio/issues)[在思源笔记社区中发帖](https://ld246.com/article/1762744532030)
@@ -41,10 +43,15 @@
4143

4244
**编辑draw.io图像:** 点击图像右上角的菜单按钮,当图像被识别为合法的draw.io图像时,菜单中会显示 `编辑draw.io` 的选项,点击即可打开编辑窗口。
4345

44-
**从其他来源迁移:** 只需要在任意draw.io平台导出SVG图像时勾选 `包含绘图副本` 选项,再把SVG图像拖入思源笔记中即可。
46+
**从其他来源迁移:**
47+
48+
+ 方案1:只需要在任意draw.io平台导出SVG图像时勾选 `包含绘图副本` 选项,再把SVG图像拖入思源笔记中即可,不用担心以后没法再迁移,这个SVG图像也是可以导入到任意draw.io再次编辑的。
49+
+ 方案2:在任意draw.io平台内复制全部内容,在思源笔记中输入 `/drawio` 命令创建新draw.io图像,然后将复制的内容粘贴进弹出的draw.io窗口中即可。
4550

4651
## 更新日志
4752

53+
+ v0.1.4
54+
+ 更新文档
4855
+ v0.1.3
4956
+ 优化:调整移动端主题
5057
+ 修复缺陷:避免使用CSS5的light-dark样式导致部分浏览器显示异常

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "siyuan-embed-drawio",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"type": "module",
55
"description": "This is a plugin for siyuan",
66
"author": "",

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "siyuan-embed-drawio",
33
"author": "Yuxin Zhao",
44
"url": "https://github.com/YuxinZhaozyx/siyuan-embed-drawio",
5-
"version": "0.1.3",
5+
"version": "0.1.4",
66
"minAppVersion": "3.3.0",
77
"disabledInPublish": true,
88
"backends": [

0 commit comments

Comments
 (0)