Browse Source

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

Daniel 1 year ago
parent
commit
0d0aa65881
1 changed files with 4 additions and 4 deletions
  1. 4 4
      kernel/util/lute.go

+ 4 - 4
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 {