Skip to content

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

:memo: 闪卡支持设置是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794

Liang Ding766897dd2c56
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
index 03d4d3959d..7b98c0eb7a 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
@@ -5,7 +5,7 @@
"Properties": {
"id": "20221223221636-ms2b4w9",
"title": "Flashcards",
- "updated": "20230324111319"
+ "updated": "20230328100306"
},
"Children": [
{
@@ -196,12 +196,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230324110955-eznqs9u",
- "updated": "20230324111043"
+ "updated": "20230328100306"
},
"Children": [
{
"Type": "NodeText",
- "Data": "Among them, if you don’t need the super block card and list or list item card, you can turn it off in "
+ "Data": "The above rules can be adjusted in "
},
{
"Type": "NodeTextMark",
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy
index cdd6b000a2..ea9b5dca77 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20221223215557-o6gfsoy.sy
@@ -5,7 +5,7 @@
"Properties": {
"id": "20221223215557-o6gfsoy",
"title": "闪卡",
- "updated": "20230324110708"
+ "updated": "20230328100253"
},
"Children": [
{
@@ -204,12 +204,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230324105957-puvmnur",
- "updated": "20230324110110"
+ "updated": "20230328100253"
},
"Children": [
{
"Type": "NodeText",
- "Data": "其中超级块制卡和列表或者列表项制卡如果不需要的话可以在 "
+ "Data": "以上规则可以在 "
},
{
"Type": "NodeTextMark",
@@ -227,7 +227,7 @@
},
{
"Type": "NodeText",
- "Data": "​ 中关闭。"
+ "Data": "​ 中调整。"
}
]
},
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy
index d2475d62a6..001242c85d 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20221223221501-mops33i.sy
@@ -5,7 +5,7 @@
"Properties": {
"id": "20221223221501-mops33i",
"title": "閃卡",
- "updated": "20230324110901"
+ "updated": "20230328100340"
},
"Children": [
{
@@ -200,12 +200,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230324110806-8rbbppa",
- "updated": "20230324110821"
+ "updated": "20230328100340"
},
"Children": [
{
"Type": "NodeText",
- "Data": "其中超級塊制卡和列表或者列表項製卡如果不需要的話可以在 "
+ "Data": "以上規則可以在 "
},
{
"Type": "NodeTextMark",
@@ -223,7 +223,7 @@
},
{
"Type": "NodeText",
- "Data": "​ 中關閉。"
+ "Data": "​ 中調整。"
}
]
},
diff --git a/kernel/conf/flashcard.go b/kernel/conf/flashcard.go
index c3e6f51b35..2056e64f00 100644
--- a/kernel/conf/flashcard.go
+++ b/kernel/conf/flashcard.go
@@ -19,6 +19,7 @@ package conf
type Flashcard struct {
NewCardLimit int `json:"newCardLimit"` // 新卡上限 https://github.com/siyuan-note/siyuan/issues/7695
ReviewCardLimit int `json:"reviewCardLimit"` // 复习卡上限 https://github.com/siyuan-note/siyuan/issues/7703
+ Mark bool `json:"mark"` // 是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794
List bool `json:"list"` // 是否启用列表块制卡 https://github.com/siyuan-note/siyuan/issues/7701
SuperBlock bool `json:"superBlock"` // 是否启用超级块制卡 https://github.com/siyuan-note/siyuan/issues/7702
Deck bool `json:"deck"` // 是否启用卡包制卡 https://github.com/siyuan-note/siyuan/issues/7724
@@ -28,6 +29,7 @@ func NewFlashcard() *Flashcard {
return &Flashcard{
NewCardLimit: 20,
ReviewCardLimit: 200,
+ Mark: true,
List: true,
SuperBlock: true,
Deck: false,