obsidian-spaced-repetition
obsidian-spaced-repetition copied to clipboard
[BUG] Cloze card are not working
Describe the bug Cloze cards are not working
To Reproduce Steps to reproduce the behavior:
- Create a card
- Use ==highlights== or bolded text to create a cloze deletion
Expected behavior Cloze deletion card
Screenshots
If applicable, add screenshots to help explain the bug. This could be the logs in the developer console (CTRL
+ SHIFT
+ i
).
Versions (please complete the following information):
- OS: Latest MacOS
- Obsidian version: 0.13.33
- Plugin version: Latest
- If on desktop, Installer version: [run
this.navigator.appVersion
on the developer console, e.g.5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/0.12.3 Chrome/89.0.4389.128 Electron/12.0.6 Safari/537.36"
]
Additional context Add any other context about the problem here (e.g. the markdown producing the error).
Not sure if this works with every theme, but I fixed this by saving the following as vault/.obsidian/snippets/Spaced Repetition.css
and enabling it under Settings > Appearance:
#sr-flashcard-view mark {
background-color: var(--text-normal);
color: var(--text-normal);
}
#sr-flashcard-view mark:hover {
background-color: var(--background-secondary-alt);
color: var(--text-on-selection);
}
@insanitywanted Can you post here the text that generates the card in the image? It looks to me like you are using cloze inside a basic card. I think this is not possible