An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: Callout block https://github.com/siyuan-note/siyuan/issues/16051
Daniel323b9345fc5c
diff --git a/app/src/protyle/render/setLute.ts b/app/src/protyle/render/setLute.tsindex e7575139d7..b43fa48062 100644--- a/app/src/protyle/render/setLute.ts+++ b/app/src/protyle/render/setLute.ts@@ -24,6 +24,7 @@ export const setLute = (options: ILuteOptions) => {lute.SetKramdownIAL(true);lute.SetTag(true);lute.SetSuperBlock(true);+ lute.SetCallout(true);lute.SetInlineAsterisk(window.siyuan.config.editor.markdown.inlineAsterisk);lute.SetInlineUnderscore(window.siyuan.config.editor.markdown.inlineUnderscore);lute.SetSup(window.siyuan.config.editor.markdown.inlineSup);diff --git a/app/src/types/protyle.d.ts b/app/src/types/protyle.d.tsindex b0dfbd2738..184b3001eb 100644--- a/app/src/types/protyle.d.ts+++ b/app/src/types/protyle.d.ts@@ -225,6 +225,8 @@ declare class Lute {public SetSuperBlock(enable: boolean): void;+ public SetCallout(enable: boolean): void;+public SetTag(enable: boolean): void;public SetInlineMath(enable: boolean): void;diff --git a/kernel/util/lute.go b/kernel/util/lute.goindex d30247cf1b..c574a842be 100644--- a/kernel/util/lute.go+++ b/kernel/util/lute.go@@ -80,6 +80,7 @@ func NewLute() (ret *lute.Lute) {ret.SetCodeSyntaxHighlight(false)ret.SetSanitize(true)ret.SetUnorderedListMarker("-")+ ret.SetCallout(true)return}