From 05c318070f75c246fdb5642f74e554714fba2151 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 22 Jun 2025 17:16:29 +0800 Subject: [PATCH] :art: Clean code https://github.com/siyuan-note/siyuan/issues/14310 --- app/src/protyle/render/setLute.ts | 1 - kernel/util/lute.go | 1 - 2 files changed, 2 deletions(-) diff --git a/app/src/protyle/render/setLute.ts b/app/src/protyle/render/setLute.ts index d44bd8f66..e7575139d 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 4c38e1a1d..d30247cf1 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)