reuseman / flashcards-obsidian

🎴 An Anki plugin for Obsidian.md
MIT License
897 stars 87 forks source link

Support hints for clozes #141

Closed putzwasser closed 1 year ago

putzwasser commented 1 year ago

Is your feature request related to a problem? Please describe. Anki support hints for clozes. It would be great if we could use this feature.

Describe the solution you'd like Hints could be implemented using this cloze syntax:

{NUMBER:HINT|cloze text}

And using this regex:

((?:\{\d+:)([^\|\}]*)(?:\|[^\}]+\}))
putzwasser commented 1 year ago

Nevermind, didn't realize, I could just write the "native" anki syntax in the note:

My {1:cloze::word for omitted text} deletion