Skip to content

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

:art: Clean code https://github.com/siyuan-note/siyuan/issues/14310

Daniel05c318070f75
diff --git a/app/src/protyle/render/setLute.ts b/app/src/protyle/render/setLute.ts
index d44bd8f664..e7575139d7 100644
--- a/app/src/protyle/render/setLute.ts
+++ b/app/src/protyle/render/setLute.ts
@@ -24,7 +24,6 @@ export const setLute = (options: ILuteOptions) => {
lute.SetKramdownIAL(true);
lute.SetTag(true);
lute.SetSuperBlock(true);
- lute.SetMark(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/kernel/util/lute.go b/kernel/util/lute.go
index 4c38e1a1df..d30247cf1b 100644
--- a/kernel/util/lute.go
+++ b/kernel/util/lute.go
@@ -58,7 +58,6 @@ func NewLute() (ret *lute.Lute) {
ret.SetSuperBlock(true)
ret.SetImgPathAllowSpace(true)
ret.SetGitConflict(true)
- ret.SetMark(true)
ret.SetInlineAsterisk(MarkdownSettings.InlineAsterisk)
ret.SetInlineUnderscore(MarkdownSettings.InlineUnderscore)
ret.SetSup(MarkdownSettings.InlineSup)