mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
📝 闪卡支持设置是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794
This commit is contained in:
parent
98344bdc99
commit
7b3e358dc1
4 changed files with 13 additions and 11 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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": " 中调整。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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": " 中調整。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue