75 Commits

Author SHA1 Message Date
Daniel 3b446d4ac9 Command Line Interface (CLI) https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-18 12:42:24 +08:00
Daniel 3b13cc420b 🎨 https://github.com/siyuan-note/siyuan/pull/17529
Signed-off-by: Daniel <845765@qq.com>
2026-04-18 17:31:56 +08:00
Jeffrey Chen 4065982c9a ♻️ Replace errors.New(fmt.Sprintf) with fmt.Errorf (#17414) 2026-04-05 16:50:20 +08:00
Jeffrey Chen 10dfb0855f ♻️ Adjust template and widget search data structure (#17142) 2026-03-05 18:44:16 +08:00
Daniel ae621040de 🎨 Improve render callout in template
Signed-off-by: Daniel <845765@qq.com>
2026-01-04 16:27:04 +08:00
Daniel c07efea8de 🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
2025-12-20 12:31:28 +08:00
Daniel 980f6dd0b8 Callout block https://github.com/siyuan-note/siyuan/issues/16051
Signed-off-by: Daniel <845765@qq.com>
2025-12-06 16:46:33 +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
Daniel 041c4102cd 🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414 2025-06-12 22:27:09 +08:00
Daniel 7dcca464dd 🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414 2025-06-10 11:45:57 +08:00
Daniel 98c51a8fd0 🎨 Improve block ref anchor text rendering in templates https://github.com/siyuan-note/siyuan/issues/14457 2025-03-30 21:34:03 +08:00
Daniel 1c0b2a3def 🐛 Query embed block scripts to be correctly escaped when exporting templates https://github.com/siyuan-note/siyuan/issues/13701 2025-01-02 11:27:53 +08:00
Daniel e4fb91d56f 🎨 Use ID when block ref anchor text is empty https://github.com/siyuan-note/siyuan/issues/13606 2024-12-25 17:39:16 +08:00
Daniel 11d3516aa7 🎨 Add block content statistics template function statBlock https://github.com/siyuan-note/siyuan/issues/13438 2024-12-12 00:00:28 +08:00
Daniel 543ecfb1aa 🎨 Improve template search https://github.com/siyuan-note/siyuan/issues/13348 2024-12-07 10:37:20 +08:00
Daniel dfa246021f 🐛 Fix template rendering for dynamic icon path https://github.com/siyuan-note/siyuan/issues/13211 2024-11-21 11:55:30 +08:00
Daniel 89f1887c3b Improve data sync performance for booting https://github.com/siyuan-note/siyuan/issues/13216 2024-11-21 10:59:29 +08:00
Daniel aaeca6778f 🎨 Improve dynamic icon kernel api for rendering template https://github.com/siyuan-note/siyuan/issues/13095 2024-11-11 23:33:52 +08:00
Daniel a0491cd4ff 🎨 Improve markdown importing https://github.com/siyuan-note/siyuan/issues/13097 https://github.com/siyuan-note/siyuan/issues/13080 2024-11-10 12:04:56 +08:00
Daniel c42064ec0b ♻️ Improve database loading performance https://github.com/siyuan-note/siyuan/issues/12818 2024-10-17 23:45:27 +08:00
Daniel 0ff99f758a 🎨 Add a template function getHPathByID https://github.com/siyuan-note/siyuan/issues/11734 2024-09-19 22:18:43 +08:00
Oleksandr Redko b100721fee ♻️ Refactor Go to err != nil, err == nil (#12385) 2024-09-04 09:40:50 +08:00
Daniel cb41abb7bd 🎨 Keep the width when duplicating database table view field https://github.com/siyuan-note/siyuan/issues/11552 2024-06-10 16:50:00 +08:00
Daniel 373bce9791 ♻️ Improve av structure 2024-05-15 00:47:25 +08:00
Daniel 8be272bfc6 🎨 Creating a dailynote template supports doc attributes https://github.com/siyuan-note/siyuan/issues/10698 2024-03-22 20:36:18 +08:00
Daniel 8b7e6661f5 🎨 Creating a dailynote template supports doc attributes https://github.com/siyuan-note/siyuan/issues/10698 2024-03-22 19:46:48 +08:00
Daniel f3574038e2 ♻️ Clean code 2024-03-10 23:27:13 +08:00
Daniel b9e2b7661e 🎨 Database table view in-table search https://github.com/siyuan-note/siyuan/issues/10419 2024-03-09 17:33:57 +08:00
Daniel 4ce87d4eb3 🎨 Improve built-in template func 2024-03-08 16:19:25 +08:00
Daniel cb726e0118 🎨 Database block support specified view https://github.com/siyuan-note/siyuan/issues/10443 2024-03-04 15:57:35 +08:00
Daniel c00dc1cc5c 🐛 Data sync may cause data loss on Android 14 https://github.com/siyuan-note/siyuan/issues/10205 2024-01-21 21:27:50 +08:00
Daniel 9ede4c7361 🐛 Fix render template with database table view https://github.com/siyuan-note/insider/issues/1132 2024-01-08 12:04:03 +08:00
Daniel 108bdec5f6 🎨 The database template column supports queryBlocks function https://github.com/siyuan-note/siyuan/issues/10077 2024-01-04 22:31:42 +08:00
Daniel 20cd2ac696 🎨 The database template column supports queryBlocks function https://github.com/siyuan-note/siyuan/issues/10077 2024-01-04 22:04:29 +08:00
Daniel 20462f302d 🎨 Add template func pow, powf, log and logf https://github.com/siyuan-note/siyuan/issues/9911 2023-12-18 12:24:39 +08:00
Daniel 7fa8111313 🎨 Add template func pow, powf, log and logf https://github.com/siyuan-note/siyuan/issues/9911 2023-12-18 12:02:55 +08:00
Daniel 7ff4356316 🎨 Automatically fill in the filter result value when adding rows in the database table view https://github.com/siyuan-note/siyuan/issues/9905 2023-12-17 12:12:22 +08:00
Daniel e9ef0611cd ♻️ Refactor database table view 2023-12-15 20:05:31 +08:00
Daniel 3aa32f7f8d 🎨 Database table view supports paged loading https://github.com/siyuan-note/siyuan/issues/9424 2023-12-06 17:23:09 +08:00
Jeffrey Chen 3dc72e25da Add a template function about date 补充一个日期相关的模板函数 (#9815)
* Update time.go

添加一个与日期相关的模板函数,有「星期天」了

* Update template.go

添加一个日期相关的模板函数
2023-12-06 08:56:00 +08:00
Daniel 5c5f7da1e6 🎨 Add some template function about date https://github.com/siyuan-note/siyuan/pull/9812 2023-12-04 15:29:21 +08:00
Frostime 86547f77b5 feat: Add some template function about date (#9812)
*  feat(template): Add some template func about week of date

*  feat: rename `WeekOfYear` to `ISOWeek`

* fix: 命名错误
2023-12-04 15:08:01 +08:00
Daniel 4f50a8b06d 🎨 Supports multiple views for the database https://github.com/siyuan-note/siyuan/issues/9751 2023-11-30 20:05:20 +08:00
Daniel ea2a2bbf03 🎨 Code content in templates is not properly escaped https://github.com/siyuan-note/siyuan/issues/9649 2023-11-14 22:37:37 +08:00
Daniel 70c56c8e25 🐛 Notebook data may be corrupted during data synchronization https://github.com/siyuan-note/siyuan/issues/9594 2023-11-06 22:44:06 +08:00
Daniel 3bf01a7d9f 🎨 Shallow clone the corresponding database when the template contains database blocks https://github.com/siyuan-note/siyuan/issues/9494 2023-10-24 10:15:01 +08:00
Daniel 8a789a8573 🎨 Shallow clone the corresponding database when the template contains database blocks https://github.com/siyuan-note/siyuan/issues/9494 2023-10-24 09:56:04 +08:00
Daniel 2e064b2453 📝 Update changelogs 2023-10-24 09:42:29 +08:00
Daniel 8ad15c4d23 🎨 Shallow clone the corresponding database when the template contains database blocks https://github.com/siyuan-note/siyuan/issues/9494 2023-10-24 09:38:33 +08:00
Daniel 7145460c18 🎨 Shallow clone the corresponding database when the template contains database blocks https://github.com/siyuan-note/siyuan/issues/9494 2023-10-24 09:33:59 +08:00