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
..
ai.go
appearance.go
asset_content.go Improve the image loading performance in the database https://github.com/siyuan-note/siyuan/issues/15245 2025-07-09 16:19:19 +08:00
asset_content_test.go
assets.go 🎨 Improve asset search highlighting https://github.com/siyuan-note/siyuan/issues/15370 2025-07-26 16:50:46 +08:00
assets_watcher.go Improve the image loading performance in the database https://github.com/siyuan-note/siyuan/issues/15245 2025-07-09 16:19:19 +08:00
assets_watcher_darwin.go Improve the image loading performance in the database https://github.com/siyuan-note/siyuan/issues/15245 2025-07-09 16:19:19 +08:00
attribute_view.go 🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964 2025-07-29 15:52:30 +08:00
attribute_view_fix.go 🎨 Improve av 2025-07-12 16:27:56 +08:00
auth.go 🎨 Clean code 2025-07-27 19:34:42 +08:00
backlink.go 🎨 Improve backmention search https://github.com/siyuan-note/siyuan/issues/4699 2025-07-23 11:33:20 +08:00
bazzar.go
block.go 🎨 Improve reference count refresh after converting heading block level https://github.com/siyuan-note/siyuan/issues/15298 2025-07-17 17:25:47 +08:00
blockial.go 🎨 Database index content/markdown values no longer contain zero-width spaces https://github.com/siyuan-note/siyuan/issues/15204 2025-07-03 10:01:04 +08:00
blockinfo.go 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-25 13:15:55 +08:00
bookmark.go
box.go 🎨 Clean code 2025-07-27 20:26:42 +08:00
caldav.go
carddav.go
cloud_service.go
conf.go 🎨 Clean code 2025-07-27 20:26:42 +08:00
dav.go
elevator.go
elevator_windows.go
emojis_watcher.go
emojis_watcher_darwin.go
export.go Improve export preview mode CSS variable value filling (#15110) 2025-07-29 21:33:40 +08:00
export_merge.go 🎨 Ignore the last empty paragraph block when exporting merged sub-documents https://github.com/siyuan-note/siyuan/issues/15028 2025-06-19 10:46:31 +08:00
file.go 🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964 2025-07-27 17:08:22 +08:00
flashcard.go
format.go
graph.go
heading.go 🎨 Improve reference count update after document convert to heading https://github.com/siyuan-note/siyuan/issues/15299 2025-07-17 16:33:22 +08:00
history.go 🎨 Improve reference count update after document convert to heading https://github.com/siyuan-note/siyuan/issues/15299 2025-07-17 16:33:22 +08:00
import.go 🔒 XSS through emoji name https://github.com/siyuan-note/siyuan/issues/15034 2025-06-25 11:34:34 +08:00
index.go 🎨 Clean code 2025-07-27 20:26:42 +08:00
index_fix.go
listitem.go 🎨 Improve reference count update after document convert to heading https://github.com/siyuan-note/siyuan/issues/15299 2025-07-17 16:33:22 +08:00
mount.go
ocr.go
outline.go
path.go
pdf.go
plugin.go
process.go
push_reload.go 🎨 Improve reference count update after moving heading blocks https://github.com/siyuan-note/siyuan/issues/15322 2025-07-17 21:02:25 +08:00
render.go 🐛 https://github.com/siyuan-note/siyuan/issues/15121 2025-06-24 10:24:47 +08:00
repository.go
role.go
search.go 🐛 Find-replace incorrectly converts tags to text https://github.com/siyuan-note/siyuan/issues/15372 2025-07-29 20:47:12 +08:00
session.go 🎨 Improve auth 2025-07-25 14:37:21 +08:00
shortcuts.go
snippet.go
storage.go
sync.go 🎨 Clean code 2025-04-27 12:07:34 +08:00
tag.go
template.go Support code block highlighting template syntax and export code block templates as paragraphs (#15345) 2025-07-29 21:36:34 +08:00
theme.go Improve export preview mode CSS variable value filling (#15110) 2025-07-29 21:33:40 +08:00
transaction.go 🎨 https://github.com/siyuan-note/siyuan/issues/15377 2025-07-29 15:48:59 +08:00
tree.go
updater.go
upload.go 🐛 Dragging a file from the assets folder into the editor causes the kernel to exit https://github.com/siyuan-note/siyuan/issues/15355 2025-07-24 11:19:49 +08:00
virutalref.go 🐛 Virtual reference keyword exclusion list does not work in certain cases https://github.com/siyuan-note/siyuan/issues/15252 2025-07-08 20:38:59 +08:00
widget.go