🎨 Support heading blocks to make flashcards https://github.com/siyuan-note/siyuan/issues/9005

This commit is contained in:
Daniel 2023-10-04 11:17:35 +08:00
parent 068a1394db
commit 8baab6a19d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -28,6 +28,7 @@ type Flashcard struct {
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
Heading bool `json:"heading"` // 是否启用标题块制卡 https://github.com/siyuan-note/siyuan/issues/9005
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
@ -52,6 +53,7 @@ func NewFlashcard() *Flashcard {
Mark: true,
List: true,
SuperBlock: true,
Heading: true,
Deck: false,
RequestRetention: param.RequestRetention,
MaximumInterval: int(param.MaximumInterval),