Explorar el Código

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

Daniel hace 1 año
padre
commit
0d0aa65881
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      kernel/util/lute.go

+ 4 - 4
kernel/util/lute.go

@@ -26,10 +26,10 @@ import (
 
 
 // MarkdownSettings 运行时 Markdown 配置。
 // MarkdownSettings 运行时 Markdown 配置。
 var MarkdownSettings = &Markdown{
 var MarkdownSettings = &Markdown{
-	InlineSup:  false,
-	InlineSub:  false,
-	InlineTag:  false,
-	InlineMath: false,
+	InlineSup:  true,
+	InlineSub:  true,
+	InlineTag:  true,
+	InlineMath: true,
 }
 }
 
 
 type Markdown struct {
 type Markdown struct {