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

This commit is contained in:
Liang Ding 2023-03-28 10:12:49 +08:00
parent 8b63e04728
commit 6e6c0ce38b
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
2 changed files with 9 additions and 0 deletions

View File

@ -36,6 +36,14 @@ export const flashcard = {
</label>`;
/// #endif
return `${responsiveHTML}
<label class="fn__flex b3-label">
<div class="fn__flex-1">
${window.siyuan.languages.flashcardMark}
<div class="b3-label__text">${window.siyuan.languages.flashcardMarkTip}</div>
</div>
<span class="fn__space"></span>
<input class="b3-switch fn__flex-center" id="mark" type="checkbox"${window.siyuan.config.flashcard.mark ? " checked" : ""}/>
</label>
<label class="fn__flex b3-label">
<div class="fn__flex-1">
${window.siyuan.languages.flashcardList}

View File

@ -397,6 +397,7 @@ declare interface IConfig {
flashcard: {
newCardLimit: number
reviewCardLimit: number
mark: boolean
list: boolean
superBlock: boolean
deck: boolean