An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/12357
Vanessa91a768e4e7ac
diff --git a/app/src/protyle/render/highlightRender.ts b/app/src/protyle/render/highlightRender.tsindex e8fefff31e..8a2014a6a0 100644--- a/app/src/protyle/render/highlightRender.ts+++ b/app/src/protyle/render/highlightRender.ts@@ -30,7 +30,7 @@ export const highlightRender = (element: Element, cdn = Constants.PROTYLE_CDN) =setCodeTheme(cdn);- addScript(`${cdn}/js/highlight.js/highlight.min.js?v=11.7.0`, "protyleHljsScript").then(() => {+ addScript(`${cdn}/js/highlight.js/highlight.min.js?v=11.11.1`, "protyleHljsScript").then(() => {addScript(`${cdn}/js/highlight.js/third-languages.js?v=1.0.1`, "protyleHljsThirdScript").then(() => {codeElements.forEach((block: HTMLElement) => {const iconElements = block.parentElement.querySelectorAll(".protyle-icon");diff --git a/app/src/util/assets.ts b/app/src/util/assets.tsindex 417d87c88d..11ad73b184 100644--- a/app/src/util/assets.ts+++ b/app/src/util/assets.ts@@ -322,7 +322,7 @@ export const setCodeTheme = (cdn = Constants.PROTYLE_CDN) => {css = "github-dark";}}- const href = `${cdn}/js/highlight.js/styles/${css}.min.css?v=11.5.0`;+ const href = `${cdn}/js/highlight.js/styles/${css}.min.css?v=11.11.1`;if (!protyleHljsStyle) {addStyle(href, "protyleHljsStyle");} else if (!protyleHljsStyle.href.includes(href)) {