Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/pull/15345

Vanessa789aed4aee90
diff --git a/app/stage/protyle/js/highlight.js/third-languages.js b/app/stage/protyle/js/highlight.js/third-languages.js
index c2427be1b9..ad42cd48e1 100644
--- a/app/stage/protyle/js/highlight.js/third-languages.js
+++ b/app/stage/protyle/js/highlight.js/third-languages.js
@@ -353,6 +353,7 @@ hljs.registerLanguage('template', function (hljs) {
return {
name: 'template',
+ aliases: ['siyuan-template'],
case_insensitive: true,
contains: [
ACTION_BLOCK,
@@ -361,5 +362,4 @@ hljs.registerLanguage('template', function (hljs) {
...markdownRules.contains,
]
};
-
});