Commit graph

11333 commits

Author SHA1 Message Date
Emptylight
ab92cbc184
refactor: Update highlight.js plugins (#15386) 2025-07-30 17:38:26 +08:00
Vanessa
459a35d0b3 Merge remote-tracking branch 'origin/dev' into dev 2025-07-30 17:36:15 +08:00
Vanessa
e4959774e8 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-30 17:35:53 +08:00
Jeffrey Chen
9e7426a6f4
💄 Improve the animation for opening dialog (#15383)
fix https://github.com/siyuan-note/siyuan/issues/15085
2025-07-30 17:22:40 +08:00
Vanessa
a105227e65 🎨 https://github.com/siyuan-note/siyuan/issues/15389 2025-07-30 12:08:15 +08:00
Vanessa
78c3479fc3 🎨 https://github.com/siyuan-note/siyuan/issues/15341 2025-07-30 10:40:02 +08:00
Vanessa
789aed4aee 🎨 https://github.com/siyuan-note/siyuan/pull/15345 2025-07-30 10:05:25 +08:00
Vanessa
842dbb6863 🎨 https://github.com/siyuan-note/siyuan/pull/15110 2025-07-29 23:55:29 +08:00
Vanessa
48933e62f3 🎨 https://github.com/siyuan-note/siyuan/pull/15345 2025-07-29 21:41:49 +08:00
Achuan-2
009a68aa7e
Support code block highlighting template syntax and export code block templates as paragraphs (#15345)
*  feat: 优化模板编辑体验,支持使用代码块来存储模板语法

*  feat: 支持对template代码块进行高亮

- 渲染.action 块和{{}}块规则
- 渲染Markdown块
- 思源块属性设置语法

* Update third-languages.js

* Update third-languages.js

* Update third-languages.js

* Update third-languages.js

* Update third-languages.js:块属性支持高亮.action{}语法,调整relevance

* 支持渲染queryBlocks的sql语句和嵌入块sql语句

* Update third-languages.js

补充变量高亮:getHPathByID|getBlock|statBlock|runeCount|wordCount|toPrettyJson|

*  feat: 优化模板编辑体验,支持使用代码块来存储模板语法 #15345

导出时,增加识别`siyuan-template`代码块为模板

*  feat: 优化模板编辑体验,支持使用代码块来存储模板语法 #15345

代码块语言新增`siyuan-template`

* Update template.go

---------

Co-authored-by: D <845765@qq.com>
2025-07-29 21:36:34 +08:00
Jeffrey Chen
2994969286
Improve export preview mode CSS variable value filling (#15110)
* 改进 CSS 变量替换为实际值

* Chrome、Edge、SiYuan 桌面端不需要替换 CSS 变量

* 外观模式或主题改变之后,重新加载所有将 CSS 变量替换为实际值的导出预览

* 代码块之间没有间距

* 去掉一个空格

* 使用 ua.Mobile() 判断移动设备

* 重构
2025-07-29 21:33:40 +08:00
Vanessa
227802b83c 🎨 https://github.com/siyuan-note/siyuan/issues/15336 2025-07-29 20:44:52 +08:00
Vanessa
ba3bf8705e 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-29 15:42:57 +08:00
Vanessa
89f32a43f7 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-29 12:03:40 +08:00
Vanessa
1a918dd946 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-29 12:00:41 +08:00
Vanessa
f91e87b953 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-29 11:01:18 +08:00
Vanessa
fa2ec80cb1 Merge remote-tracking branch 'origin/dev' into dev 2025-07-29 10:31:56 +08:00
Vanessa
8dac657846 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-29 10:31:41 +08:00
Daniel
f7cb4db291
🎨 Export preview mode supports focus use https://github.com/siyuan-note/siyuan/issues/15340 2025-07-29 09:51:48 +08:00
Vanessa
36b2299206 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-28 23:52:28 +08:00
Vanessa
81644059ac 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-28 12:42:32 +08:00
Daniel
75b2ccfe82
⬆️ Upgrade lute 2025-07-28 10:31:04 +08:00
Vanessa
4ccdd38de0 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-28 10:22:40 +08:00
Vanessa
425882cda0 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-28 10:02:06 +08:00
Vanessa
a9a453e144 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-28 09:28:42 +08:00
Vanessa
6d7637850a 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 19:10:43 +08:00
Vanessa
759c12be06 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 14:02:21 +08:00
Vanessa
fc67bcc9e8 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 11:46:06 +08:00
Vanessa
ccbcb4b809 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 11:38:58 +08:00
Vanessa
7308536ded 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 11:23:58 +08:00
Vanessa
de8da071d0 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 09:56:31 +08:00
Vanessa
a9f5cac024 Merge remote-tracking branch 'origin/dev' into dev 2025-07-26 22:50:44 +08:00
Vanessa
33d25372f7 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-26 22:50:24 +08:00
Daniel
cf6c905930
🎨 Export preview mode supports focus use https://github.com/siyuan-note/siyuan/issues/15340 2025-07-26 21:59:05 +08:00
Daniel
d555eec852
Improve pasting performance for large amounts of content https://github.com/siyuan-note/siyuan/issues/15306 2025-07-26 21:35:17 +08:00
Daniel
7c692e8273
Improve pasting performance for large amounts of content https://github.com/siyuan-note/siyuan/issues/15306 2025-07-26 21:24:28 +08:00
Vanessa
829fc886d4 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-26 16:02:10 +08:00
Vanessa
9ea5b148c7 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-26 11:30:57 +08:00
Vanessa
e492c973ac 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-25 23:18:38 +08:00
Vanessa
cbbca634f5 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-25 22:07:11 +08:00
Vanessa
49dd247b8a 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-25 22:04:47 +08:00
Vanessa
01a2e07dcc Merge remote-tracking branch 'origin/dev' into dev 2025-07-25 22:02:00 +08:00
Vanessa
45aee043c8 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-25 22:01:41 +08:00
Daniel
da5f4bb42c
🎨 Re OCR popup prompt when Tesseract is not enabled https://github.com/siyuan-note/siyuan/issues/15367 2025-07-25 21:25:38 +08:00
Daniel
382cd6a8af
⬆️ Upgrade lute 2025-07-25 19:56:26 +08:00
Daniel
70d4af6e7c
⬆️ Upgrade lute 2025-07-25 19:47:10 +08:00
Vanessa
5f91cffc4d Merge remote-tracking branch 'origin/dev' into dev 2025-07-25 19:43:26 +08:00
Vanessa
582cce1b92 🎨 https://github.com/siyuan-note/siyuan/issues/10964 2025-07-25 19:43:06 +08:00
Daniel
70741fffcc
🎨 Re OCR popup prompt when Tesseract is not enabled https://github.com/siyuan-note/siyuan/issues/15367 2025-07-25 19:34:35 +08:00
Vanessa
0c0d02c6a6 Merge remote-tracking branch 'origin/dev' into dev 2025-07-25 14:55:42 +08:00