Addon to modify behavior of spelling test cards

I would like to write an add-on that modifies the behavior of the spelling test cards (using {{type:}}). For example, I would like to allow alternate spellings.

I am a software developer but unfamiliar with Anki’s codebase. I have written basic addons and have seen the docs (including the list of hooks and filters).

Can someone more familiar with the code base suggest the best place to start? What hooks or filters should I look at? What parts of the codebase?

Thanks,
Andrew

1 Like

The relevant code is in reviewer.py, but I don’t believe there are any hooks yet. A PR that adds some would be welcome.

Thanks for the help. I’ll take a look.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.