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: 被 `\` 转义的标记符在大纲显示 Fix https://github.com/siyuan-note/siyuan/issues/5911
Liang Ding81084e90ba7b
diff --git a/kernel/model/render.go b/kernel/model/render.goindex b83ee49969..9ff56529f1 100644--- a/kernel/model/render.go+++ b/kernel/model/render.go@@ -55,6 +55,8 @@ func renderOutline(node *ast.Node, luteEngine *lute.Lute) (ret string) {tokens := html.EscapeHTML(n.Tokens)tokens = bytes.ReplaceAll(tokens, []byte(" "), []byte(" ")) // 大纲面板条目中无法显示多个空格 https://github.com/siyuan-note/siyuan/issues/4370buf.Write(tokens)+ case ast.NodeBackslashContent:+ buf.Write(n.Tokens)case ast.NodeInlineMath, ast.NodeStrong, ast.NodeEmphasis, ast.NodeCodeSpan, ast.NodeTextMark, ast.NodeMark:dom := lute.RenderNodeBlockDOM(n, luteEngine.ParseOptions, luteEngine.RenderOptions)buf.WriteString(dom)