mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
🎨 Support heading blocks to make flashcards https://github.com/siyuan-note/siyuan/issues/9005
This commit is contained in:
parent
068a1394db
commit
8baab6a19d
@ -28,6 +28,7 @@ type Flashcard struct {
|
|||||||
Mark bool `json:"mark"` // 是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794
|
Mark bool `json:"mark"` // 是否启用标记制卡 https://github.com/siyuan-note/siyuan/issues/7794
|
||||||
List bool `json:"list"` // 是否启用列表块制卡 https://github.com/siyuan-note/siyuan/issues/7701
|
List bool `json:"list"` // 是否启用列表块制卡 https://github.com/siyuan-note/siyuan/issues/7701
|
||||||
SuperBlock bool `json:"superBlock"` // 是否启用超级块制卡 https://github.com/siyuan-note/siyuan/issues/7702
|
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
|
Deck bool `json:"deck"` // 是否启用卡包制卡 https://github.com/siyuan-note/siyuan/issues/7724
|
||||||
|
|
||||||
// Apply result optimized by FSRS optimizer https://github.com/siyuan-note/siyuan/issues/9309
|
// Apply result optimized by FSRS optimizer https://github.com/siyuan-note/siyuan/issues/9309
|
||||||
@ -52,6 +53,7 @@ func NewFlashcard() *Flashcard {
|
|||||||
Mark: true,
|
Mark: true,
|
||||||
List: true,
|
List: true,
|
||||||
SuperBlock: true,
|
SuperBlock: true,
|
||||||
|
Heading: true,
|
||||||
Deck: false,
|
Deck: false,
|
||||||
RequestRetention: param.RequestRetention,
|
RequestRetention: param.RequestRetention,
|
||||||
MaximumInterval: int(param.MaximumInterval),
|
MaximumInterval: int(param.MaximumInterval),
|
||||||
|
Loading…
Reference in New Issue
Block a user