Files
siyuan/kernel/model
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
..
2024-12-21 17:28:50 +08:00
2025-07-12 16:27:56 +08:00
2025-07-27 19:34:42 +08:00
2024-10-22 19:21:04 +08:00
2025-07-27 20:26:42 +08:00
2025-07-27 20:26:42 +08:00
2024-12-01 23:20:47 +08:00
2025-07-27 20:26:42 +08:00
…
…
2025-07-25 14:37:21 +08:00
2025-04-27 12:07:34 +08:00
2025-04-23 22:17:06 +08:00
2025-04-18 10:36:14 +08:00
…