Skip to content
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

Have cloze-prefix and cloze-suffix include selected subtitles in subtitle list #173

Open
ElaxDev opened this issue Aug 5, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ElaxDev
Copy link

ElaxDev commented Aug 5, 2023

I have the following configuration for my Anki cards in the sentence field: {cloze-prefix}<b>{cloze-body}</b>{cloze-suffix} so I can have the term in the sentence highlighted, but if I select let's say the subtitle line before the one where I mined the word it just puts the current subtitle line in that field, and I think the best way to fix that could be for cloze-prefix to include the text in the subtitles selected that are before cloze-body, and for cloze-suffix to include the text that is in the subtitles selected that are after cloze-body

@ripose-jp
Copy link
Owner

If I'm understanding correctly, you want a version of cloze that takes the cloze from the subtitle list. Essentially {context-prefix} and {context-suffix} markers.

When you write "subtitle line" I get a little confused about what you mean since a single subtitle can be split across newlines. I just want to make sure I'm not misunderstanding this as a feature request as opposed to a bug report.

@ElaxDev
Copy link
Author

ElaxDev commented Aug 6, 2023

Yes, that's exactly what I want, it is a feature request, sorry for not being more clear.

@ripose-jp ripose-jp added the enhancement New feature or request label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants