Anki/pylib/tools
Damien Elmes 2a0b480103 add context to card rendering, and rework related hooks
- the context exists for the lifecycle of one card's render,
and caches calls to things like .card() to avoid add-ons needing to
do their own cache management.
- add-ons can optionally add extra data to the context if they need
it across multiple filters
- removed card_will_render. the legacy hook is still available for
now
- card_did_render is now called only once, with both front and back
text
2020-01-17 09:30:42 +10:00
..
__init__.py move hook gen code out of anki/ 2020-01-15 09:11:20 +10:00
genhooks.py add context to card rendering, and rework related hooks 2020-01-17 09:30:42 +10:00
hookslib.py remove _hook/_filter suffix 2020-01-15 16:53:24 +10:00