siyuan/app
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
..
appearance 🎨 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
appx 🔖 Release v3.2.1 2025-07-22 16:17:54 +08:00
changelogs 📝 Update changelogs 2025-07-22 16:05:12 +08:00
electron 🐛 The tray is generated repeatedly after the new window is locked and then entered https://github.com/siyuan-note/siyuan/issues/15357 2025-07-25 14:37:22 +08:00
elevator 🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 2024-12-28 23:36:56 +08:00
guide ♻️ Gallery view renamed to Card view https://github.com/siyuan-note/siyuan/issues/15215 2025-07-04 12:01:08 +08:00
nsis 🎨 Prompt and block installation when a workspace exists in the Windows desktop installation path https://github.com/siyuan-note/siyuan/issues/14864 2025-05-22 21:13:30 +08:00
pandoc ♻️ Upgrade to Pandoc v3.5 https://github.com/siyuan-note/siyuan/issues/12750 2024-10-11 12:20:09 +08:00
src Support code block highlighting template syntax and export code block templates as paragraphs (#15345) 2025-07-29 21:36:34 +08:00
stage Support code block highlighting template syntax and export code block templates as paragraphs (#15345) 2025-07-29 21:36:34 +08:00
.npmrc Update pnpm to 9.1 (#11423) 2024-05-16 08:39:07 +08:00
electron-builder-arm64.yml 🐛 Font folder not packaged on macOS/Linux/Windows arm64 https://github.com/siyuan-note/siyuan/issues/14119 2025-02-18 08:53:51 +08:00
electron-builder-darwin-arm64.yml 🐛 Font folder not packaged on macOS/Linux/Windows arm64 https://github.com/siyuan-note/siyuan/issues/14119 2025-02-18 08:53:51 +08:00
electron-builder-darwin.yml 🐛 Font folder not packaged on macOS/Linux/Windows arm64 https://github.com/siyuan-note/siyuan/issues/14119 2025-02-18 08:53:51 +08:00
electron-builder-linux-arm64.yml 🎨 Improve linux target build 2025-02-23 17:12:05 +08:00
electron-builder-linux.yml 🎨 Improve linux target build 2025-02-23 17:12:05 +08:00
electron-builder.yml 🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 2024-12-29 12:25:36 +08:00
eslint.config.mjs 🚨 2025-02-24 11:28:04 +08:00
package.json 🔖 Release v3.2.1 2025-07-22 16:17:54 +08:00
pnpm-lock.yaml ⬆️ Bump form-data from 4.0.2 to 4.0.4 in /app (#15349) 2025-07-23 12:18:23 +08:00
pnpm-workspace.yaml ♻️ Upgrade to Electron v34.5.2 https://github.com/siyuan-note/siyuan/issues/14660 2025-04-20 11:11:12 +08:00
tsconfig.json 🎨 https://github.com/siyuan-note/siyuan/issues/11782 2024-10-23 11:47:06 +08:00
webpack.config.js build: Enable stylesheet sourceMaps in the development environment (#15113) 2025-07-12 22:13:33 +08:00
webpack.desktop.js build: Enable stylesheet sourceMaps in the development environment (#15113) 2025-07-12 22:13:33 +08:00
webpack.export.js build: Enable stylesheet sourceMaps in the development environment (#15113) 2025-07-12 22:13:33 +08:00
webpack.mobile.js build: Enable stylesheet sourceMaps in the development environment (#15113) 2025-07-12 22:13:33 +08:00