mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Flashcard support review mode https://github.com/siyuan-note/siyuan/issues/10303
This commit is contained in:
parent
0dc8f1752d
commit
882466e10d
9 changed files with 63 additions and 7 deletions
|
|
@ -30,6 +30,7 @@ type Flashcard struct {
|
|||
SuperBlock bool `json:"superBlock"` // 是否启用超级块制卡 https://github.com/siyuan-note/siyuan/issues/7702
|
||||
Heading bool `json:"heading"` // 是否启用标题块制卡 https://github.com/siyuan-note/siyuan/issues/9005
|
||||
Deck bool `json:"deck"` // 是否启用卡包制卡 https://github.com/siyuan-note/siyuan/issues/7724
|
||||
ReviewMode int `json:"reviewMode"` // 复习模式,0:新旧混合,1:新卡优先,2:旧卡优先 https://github.com/siyuan-note/siyuan/issues/10303
|
||||
|
||||
// Apply result optimized by FSRS optimizer https://github.com/siyuan-note/siyuan/issues/9309
|
||||
RequestRetention float64 `json:"requestRetention"`
|
||||
|
|
@ -55,6 +56,7 @@ func NewFlashcard() *Flashcard {
|
|||
SuperBlock: true,
|
||||
Heading: true,
|
||||
Deck: false,
|
||||
ReviewMode: 0,
|
||||
RequestRetention: param.RequestRetention,
|
||||
MaximumInterval: int(param.MaximumInterval),
|
||||
Weights: weightsBuilder.String(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue