Skip to content

Improve flashcard cloze style #10009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
QQQOrange opened this issue Dec 28, 2023 · 0 comments
Closed

Improve flashcard cloze style #10009

QQQOrange opened this issue Dec 28, 2023 · 0 comments
Assignees
Milestone

Comments

@QQQOrange
Copy link

QQQOrange commented Dec 28, 2023

闪卡中的挖空能够改为一种统一的标识,而不是文字的隐化

In what scenarios do you need this feature?

原因在于,现有的挖空形式没有隐藏文字的长度,那么就存在偷懒的可能,通过文字长度来猜测数量,从而降低学习效率。

Describe the optimal solution

可以参考supermemo的方案,也即是在闪卡复习页面使用黄底红字的[...]来表示被挖空部分。
这样即避免通过文字长度猜测答案的偷懒行为,还能通过颜色来突出显示挖空的位置。

Describe the candidate solution

可在设置中的代码片段中加入以下代码来实现

.card__block--hidemark span[data-type~=mark]::before{background-color:yellow;color:red!important}
.card__block--hidemark span[data-type~=mark]::before {
content: " [...] ";
color: var(--b3-theme-on-background);
font-size: 16px;}
.card__block--hidemark span[data-type~=mark] {
font-size: 0px;
}

但最好还是能够原生显示

Other information

No response

@88250 88250 changed the title 闪卡中的挖空能够改为一种统一的标识,而不是文字的隐化 Improve flashcard cloze style Dec 28, 2023
@88250 88250 added this to the 2.12.0 milestone Dec 28, 2023
Vanessa219 added a commit that referenced this issue Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants