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

希望能够实现将挖空后的原句导出到anki的功能 #310

Open
WilliamSilvaCS opened this issue Jun 25, 2023 · 1 comment
Open

Comments

@WilliamSilvaCS
Copy link

如沙拉查词,使用其内置的anki模板 可以实现将导出的原句中的生词第一页挖空,第二页呈现的功能,以此来提升对英语词组的运用能力。功能如下图:
image
本想修改ODH 作者大大提供的anki模板已实现相同功能,但目前未找到实现方法,究其原因是沙拉查词提供了一个ContextCloze接口,以{{cloze:ContextCloze}}的形式就能呈现出挖了空的原句。
image
但ODH提供的“sentence”接口没法复现该功能。
image

请问作者大大该功能在现在版本能够以某种方式实现吗?若不行,希望能在后续版本添加该功能,麻烦了。

@ninja33
Copy link
Owner

ninja33 commented Jun 26, 2023

句子里的单词,已经是用html的b标签包围了。所以改改模版,很容易实现镂空的吧。
以前我有个antimoon模版就可以镂空的。你要不看看。https://www.laohuang.net/20180108/antimoon-template-3/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants