瀏覽代碼

:art: 搜索支持命名查询 https://github.com/siyuan-note/siyuan/issues/6589

Liang Ding 2 年之前
父節點
當前提交
c86b209fbe
共有 1 個文件被更改,包括 11 次插入11 次删除
  1. 11 11
      kernel/conf/criterion.go

+ 11 - 11
kernel/conf/criterion.go

@@ -33,15 +33,15 @@ type Criterion struct {
 }
 
 type CriterionTypes struct {
-	mathBlock  bool
-	table      bool
-	blockquote bool
-	superBlock bool
-	paragraph  bool
-	document   bool
-	heading    bool
-	list       bool
-	listItem   bool
-	codeBlock  bool
-	htmlBlock  bool
+	MathBlock  bool `json:"mathBlock"`
+	Table      bool `json:"table"`
+	Blockquote bool `json:"blockquote"`
+	SuperBlock bool `json:"superBlock"`
+	Paragraph  bool `json:"paragraph"`
+	Document   bool `json:"document"`
+	Heading    bool `json:"heading"`
+	List       bool `json:"list"`
+	ListItem   bool `json:"listItem"`
+	CodeBlock  bool `json:"codeBlock"`
+	HtmlBlock  bool `json:"htmlBlock"`
 }