Skip to content

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

:art: Update editor markdown settings default to true https://ld246.com/article/1717254690370

Daniel0d0aa65881d0
diff --git a/kernel/util/lute.go b/kernel/util/lute.go
index 258bddfa33..bfc9ea87ce 100644
--- a/kernel/util/lute.go
+++ b/kernel/util/lute.go
@@ -26,10 +26,10 @@ import (
// MarkdownSettings 运行时 Markdown 配置。
var MarkdownSettings = &Markdown{
- InlineSup: false,
- InlineSub: false,
- InlineTag: false,
- InlineMath: false,
+ InlineSup: true,
+ InlineSub: true,
+ InlineTag: true,
+ InlineMath: true,
}
type Markdown struct {